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.0008502/0.0008502, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001411/0.001411, allocations: 169 kB / 23.02 MB, free: 1.543 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.8712/0.8712, allocations: 177.1 MB / 203.4 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.7567/0.7567, allocations: 154.6 MB / 414.5 MB, free: 0.625 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 2.124e-06/2.124e-06, allocations: 1.312 kB / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.799e-05, allocations: 3.625 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001351/0.001379, allocations: 0.7076 MB / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.00249, allocations: 1.246 MB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.00253, allocations: 0 / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.002559, allocations: 7.938 kB / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.002619, allocations: 8.438 kB / 0.5222 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.003013, allocations: 152.7 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003157, allocations: 115.8 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.003231, allocations: 12.48 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.003327, allocations: 68.91 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.003398, allocations: 31.95 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.003419, allocations: 12 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.709e-05/0.003476, allocations: 29 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.003498, allocations: 11.94 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.003546, allocations: 36.58 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003685, allocations: 99.59 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003687, allocations: 1.375 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003687, allocations: 0 / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003691, allocations: 0 / 0.5228 GB, free: 15.67 MB / 0.4948 GB 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.0004061/0.004097, allocations: 426.7 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.004129, allocations: 12.03 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.004225, allocations: 17.41 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.004313, allocations: 121.9 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004325, allocations: 4.375 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.004341, allocations: 8.375 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.004455, allocations: 70.86 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004462, allocations: 0.9375 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.004474, allocations: 4.375 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.004481, allocations: 1.625 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.004514, allocations: 11.92 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.004842, allocations: 304.5 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.004915, allocations: 43.61 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.004938, allocations: 15.77 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.004951, allocations: 0.8438 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.402e-05/0.005035, allocations: 80.92 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005036, allocations: 0.9375 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001848/0.005221, allocations: 101.6 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.005257, allocations: 58.05 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.005329, allocations: 174.2 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.005348, allocations: 33.7 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.005396, allocations: 130.9 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.005412, allocations: 15.89 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.00546, allocations: 43.36 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.00557, allocations: 0.4884 MB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.005638, allocations: 63.11 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.005712, allocations: 96.42 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.005803, allocations: 112.9 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005804, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001899/0.005994, allocations: 201.8 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.006021, allocations: 41.69 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006025, allocations: 1.188 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006036, allocations: 0 / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.006099, allocations: 12 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006103, allocations: 0.5625 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.006184, allocations: 32.86 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.006201, allocations: 8 kB / 0.5254 GB, free: 12.71 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 7.131e-05/0.006273, allocations: 167.8 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.006285, allocations: 18.62 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.006395, allocations: 74.11 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.006398, allocations: 4 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.006401, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006403, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.006577, allocations: 329.3 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006578, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.006605, allocations: 14.77 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006606, allocations: 96 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.006613, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.006614, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.006616, allocations: 3.984 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006735, allocations: 235.8 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-06/0.006744, allocations: 7.953 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.006758, allocations: 0 / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.006795, allocations: 13.33 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.006826, allocations: 7.984 kB / 0.5262 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.006832, allocations: 4 kB / 0.5262 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.006868, allocations: 135.9 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006868, allocations: 0 / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001646/0.007032, allocations: 27.34 kB / 0.5264 GB, free: 11.62 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 9.614e-05/0.007129, allocations: 99.23 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.007303, allocations: 164.3 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.007304, allocations: 0 / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.007336, allocations: 27.67 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.007513, allocations: 20.22 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.007917, allocations: 169.6 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.007951, allocations: 60.28 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.007971, allocations: 4.875 kB / 0.5269 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.007992, allocations: 12.5 kB / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.007993, allocations: 1.156 kB / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of Templates: time 0.002977/0.01097, allocations: 1.652 MB / 0.5285 GB, free: 9.457 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.513411578256637]