Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001018/0.001018, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.000915/0.000915, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9202/0.9202, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7242/0.7242, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0.9844 kB / 0.5207 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.364e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001065/0.001079, allocations: 0.6574 MB / 0.5214 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.002021, allocations: 1.133 MB / 0.5225 GB, free: 144 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.002055, allocations: 1.781 kB / 0.5225 GB, free: 144 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.002078, allocations: 3.938 kB / 0.5225 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.00213, allocations: 11.88 kB / 0.5225 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.002328, allocations: 43.81 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.002395, allocations: 49.58 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.671e-05/0.002462, allocations: 15.98 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.002537, allocations: 27.95 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.002579, allocations: 23.86 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.002592, allocations: 5.562 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.735e-05/0.002639, allocations: 16 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.002657, allocations: 15.97 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.002678, allocations: 15.92 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.073e-05/0.002769, allocations: 51.81 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002771, allocations: 0.75 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.4e-07/0.002771, allocations: 0 / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.385e-06/0.002773, allocations: 1.469 kB / 0.5228 GB, free: 15.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003525/0.003126, allocations: 392.5 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.003154, allocations: 9.375 kB / 0.5231 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.003219, allocations: 12.83 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.049e-05/0.003279, allocations: 120.5 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.003289, allocations: 5.188 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-06/0.003295, allocations: 384 / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.00338, allocations: 66.03 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003387, allocations: 4.188 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.003393, allocations: 384 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003398, allocations: 384 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.003422, allocations: 19.89 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.003649, allocations: 260.4 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.003701, allocations: 35.05 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.003718, allocations: 20.23 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.003734, allocations: 0.5625 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.003851, allocations: 65.84 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.003852, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001217/0.003974, allocations: 78.2 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.003998, allocations: 51.41 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.004055, allocations: 171.3 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004066, allocations: 29.7 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.004103, allocations: 134.8 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.004121, allocations: 19.88 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.004149, allocations: 28.31 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.00424, allocations: 0.4923 MB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.004251, allocations: 5.375 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.004286, allocations: 58.34 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.004338, allocations: 67.55 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00434, allocations: 3.938 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.736e-05/0.004417, allocations: 83.61 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.004427, allocations: 8 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004432, allocations: 4.188 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.00444, allocations: 1.344 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.004494, allocations: 19.98 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.004498, allocations: 4 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.004523, allocations: 10.89 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.00453, allocations: 4 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.644e-05/0.004587, allocations: 164.5 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.004596, allocations: 11.95 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.004679, allocations: 78.03 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.00468, allocations: 0 / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.004681, allocations: 0 / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004684, allocations: 4 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.004965, allocations: 296.8 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.004965, allocations: 0 / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.00499, allocations: 11.98 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.004992, allocations: 3.938 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.004997, allocations: 4 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004997, allocations: 0 / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004998, allocations: 0 / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/0.005084, allocations: 216.5 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.00509, allocations: 7.984 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.005101, allocations: 5.062 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.00514, allocations: 8 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.005161, allocations: 8.734 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.005168, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.922e-05/0.005197, allocations: 128.8 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005197, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001457/0.005342, allocations: 16 kB / 0.5259 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * 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 8.632e-05/0.005429, allocations: 99.28 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.005499, allocations: 54.14 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.32e-07/0.0055, allocations: 0 / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.005525, allocations: 19.69 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.005683, allocations: 25.83 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.005984, allocations: 152.7 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.74e-05/0.006011, allocations: 57.42 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.006031, allocations: 7.984 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.006074, allocations: 79.11 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.006074, allocations: 0 / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.002063/0.008137, allocations: 0.9624 MB / 0.5273 GB, free: 10.93 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2572831572033465]