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.001431/0.001431, allocations: 88.72 kB / 19.44 MB, free: 352 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.001704/0.001704, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 178] 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 1.301/1.301, allocations: 154.6 MB / 414.2 MB, free: 0.6172 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 178] 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 3.938e-06/3.938e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.942e-05/4.336e-05, allocations: 7.094 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002507/0.00255, allocations: 0.6993 MB / 0.5203 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.005007, allocations: 1.217 MB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.005096, allocations: 4.625 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.005134, allocations: 4.938 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.005233, allocations: 11.94 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.005913, allocations: 140.5 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.00617, allocations: 121.5 kB / 0.5218 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.006283, allocations: 15.97 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.006468, allocations: 63.89 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.006587, allocations: 35.94 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.006618, allocations: 8 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.006713, allocations: 28.48 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.006749, allocations: 17.17 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.006824, allocations: 31.97 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.007123, allocations: 139.6 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.007127, allocations: 0 / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007128, allocations: 0.5 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.007135, allocations: 0.9062 kB / 0.5221 GB, free: 44 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.0008191/0.007954, allocations: 328.8 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.008006, allocations: 8.031 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.008201, allocations: 17.45 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.008354, allocations: 113.7 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.008382, allocations: 13.36 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.008409, allocations: 4.375 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.008653, allocations: 70.97 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008665, allocations: 192 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.008677, allocations: 2.125 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.008686, allocations: 4.375 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.008908, allocations: 43.89 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.009483, allocations: 250.1 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.009677, allocations: 54.48 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.009784, allocations: 25.69 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.009809, allocations: 0 / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.01014, allocations: 96.62 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.01014, allocations: 4 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005324/0.01067, allocations: 138.8 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.01073, allocations: 61.58 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.01087, allocations: 113.8 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.0109, allocations: 29.7 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.01099, allocations: 88.14 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.01102, allocations: 23.88 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.0111, allocations: 33.7 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.01129, allocations: 316.7 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.01148, allocations: 81.66 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.0117, allocations: 105.1 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.01204, allocations: 135.5 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01204, allocations: 0 / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005449/0.01259, allocations: 245.7 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.01264, allocations: 32.77 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.01264, allocations: 4 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.01267, allocations: 6.953 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01279, allocations: 12 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.0128, allocations: 4 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.01302, allocations: 35.84 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.01304, allocations: 8 kB / 0.5245 GB, free: 13.36 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 0.0001305/0.01317, allocations: 128.8 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.0132, allocations: 11.94 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.01353, allocations: 106.1 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01354, allocations: 0 / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01354, allocations: 4 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.01355, allocations: 3.984 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.01405, allocations: 307.5 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01405, allocations: 0 / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.01412, allocations: 12.48 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01413, allocations: 3.062 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01414, allocations: 4 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01414, allocations: 0 / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01414, allocations: 0 / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.01451, allocations: 203.5 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.01453, allocations: 11.94 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.01455, allocations: 7.984 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01466, allocations: 6.438 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.01471, allocations: 11.92 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01472, allocations: 0 / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.565e-05/0.01479, allocations: 91.73 kB / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01479, allocations: 0 / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002826/0.01507, allocations: 24 kB / 0.5254 GB, free: 12.38 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.0001833/0.01526, allocations: 100.6 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.01576, allocations: 189.9 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01576, allocations: 1.156 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.0159, allocations: 31.98 kB / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01622, allocations: 25.8 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.01668, allocations: 160.3 kB / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.715e-05/0.01676, allocations: 73.77 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.0168, allocations: 4 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.01683, allocations: 8.5 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01683, allocations: 4 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.005047/0.02187, allocations: 1.517 MB / 0.5274 GB, free: 10.31 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.160290415049531]