Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009721/0.0009721, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8851/0.8851, allocations: 154.6 MB / 414.9 MB, free: 0.6641 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.021e-05, allocations: 4.938 kB / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001169/0.001189, allocations: 0.7124 MB / 0.521 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.002346, allocations: 1.237 MB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.002395, allocations: 0 / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.002421, allocations: 4.969 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.002489, allocations: 19.84 kB / 0.5223 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.002885, allocations: 148.6 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.003025, allocations: 116.3 kB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003127, allocations: 15.98 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.003232, allocations: 60.95 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.003307, allocations: 39.86 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.003328, allocations: 9.688 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.003383, allocations: 24 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003405, allocations: 11.98 kB / 0.5227 GB, free: 180 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.003454, allocations: 39.89 kB / 0.5227 GB, free: 140 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003599, allocations: 103.7 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003601, allocations: 1.219 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003601, allocations: 0 / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003605, allocations: 0 / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004576/0.004063, allocations: 427 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.0041, allocations: 9.219 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.004206, allocations: 16.89 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.004291, allocations: 116.6 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.004306, allocations: 4.375 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004321, allocations: 5.812 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004447, allocations: 66.94 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004454, allocations: 192 / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.004463, allocations: 1.156 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.004471, allocations: 384 / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.00451, allocations: 24.7 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.004851, allocations: 299.7 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.004926, allocations: 45.83 kB / 0.5238 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.00495, allocations: 11.69 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.004965, allocations: 3.938 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.005066, allocations: 93.08 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005067, allocations: 0 / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001887/0.005256, allocations: 81.91 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.00529, allocations: 59.84 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.005372, allocations: 178.4 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.00539, allocations: 29.69 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.00544, allocations: 135.9 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.005456, allocations: 15.91 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.005502, allocations: 36.27 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005607, allocations: 0.4962 MB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.005679, allocations: 61.67 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.005754, allocations: 98.11 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.005846, allocations: 112.3 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.005848, allocations: 4.5 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002002/0.006048, allocations: 197.9 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.006074, allocations: 37.64 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006078, allocations: 1.031 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.006091, allocations: 4 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.006157, allocations: 12.61 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.006163, allocations: 4.062 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.006246, allocations: 37.23 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.006259, allocations: 8 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.006329, allocations: 161.2 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.006341, allocations: 12.45 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.006458, allocations: 93.47 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.00646, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.006463, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006467, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.006644, allocations: 329.4 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006645, allocations: 0 / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.006671, allocations: 7.938 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006673, allocations: 3.984 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.006681, allocations: 4 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006682, allocations: 2.469 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.006684, allocations: 4 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.006795, allocations: 219.9 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-06/0.006801, allocations: 7.953 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.006816, allocations: 4 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.006852, allocations: 4 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.006886, allocations: 7.984 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.006892, allocations: 0.8438 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.006937, allocations: 139.2 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006937, allocations: 5.125 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001636/0.007101, allocations: 20 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.007203, allocations: 108 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.007381, allocations: 161.6 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007383, allocations: 0 / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.007419, allocations: 34.36 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.007602, allocations: 11.94 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.008065, allocations: 165.6 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.008099, allocations: 66.03 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.008122, allocations: 4 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.008146, allocations: 12.5 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.008147, allocations: 0 / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.002903/0.01105, allocations: 1.521 MB / 0.5284 GB, free: 9.953 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9499324369244277]