Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001438/0.001438, allocations: 88.72 kB / 19.44 MB, free: 356 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.001585/0.001585, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.233/1.233, allocations: 154.8 MB / 414.3 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 3.938 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.163e-05, allocations: 6.625 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002/0.002032, allocations: 0.6617 MB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.00376, allocations: 1.108 MB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.003809, allocations: 0.5 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.003843, allocations: 5.719 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.003912, allocations: 7.875 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.004242, allocations: 55.69 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004392, allocations: 71.83 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.004478, allocations: 5.719 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.004589, allocations: 39.89 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.004652, allocations: 31.95 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.004671, allocations: 4 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.469e-05/0.004745, allocations: 19.98 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.004774, allocations: 21.42 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.004827, allocations: 19.97 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004999, allocations: 87.67 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.005004, allocations: 4 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005005, allocations: 0.75 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.005009, allocations: 0 / 0.5219 GB, free: 208 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006693/0.005678, allocations: 299.7 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.005717, allocations: 9.375 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.005861, allocations: 24.81 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.005983, allocations: 105.8 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.006008, allocations: 4.375 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.006027, allocations: 13.03 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.006271, allocations: 81.39 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.00628, allocations: 4.125 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.006292, allocations: 384 / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006299, allocations: 4.375 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.006515, allocations: 55.89 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.00704, allocations: 249 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.007251, allocations: 70.98 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.00737, allocations: 37.52 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.007397, allocations: 8.75 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.007685, allocations: 96.7 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.007686, allocations: 0 / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0005491/0.008236, allocations: 178.6 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.008288, allocations: 51.41 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.008397, allocations: 115.1 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.008427, allocations: 29.7 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.0085, allocations: 92.36 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.008537, allocations: 33.03 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.0086, allocations: 33.7 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000379/0.008979, allocations: 318.9 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.009103, allocations: 40.73 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.009255, allocations: 59.81 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.00951, allocations: 106.9 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009513, allocations: 0 / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003481/0.009861, allocations: 152.4 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.009877, allocations: 7.938 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.009883, allocations: 0 / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.009903, allocations: 0 / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01003, allocations: 23.98 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.01004, allocations: 6.75 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.01012, allocations: 7.984 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01014, allocations: 7.938 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001127/0.01025, allocations: 121.8 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.01028, allocations: 16.14 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.01064, allocations: 142.8 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01065, allocations: 4 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.01066, allocations: 5.062 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01066, allocations: 0 / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.01123, allocations: 354.8 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01123, allocations: 4.5 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.01131, allocations: 16.83 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01131, allocations: 0 / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01132, allocations: 5.547 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01132, allocations: 0 / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01132, allocations: 0 / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.01172, allocations: 241.8 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.01173, allocations: 7.953 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.01175, allocations: 3.984 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01186, allocations: 7.984 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.01191, allocations: 8 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01193, allocations: 7.984 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.012, allocations: 85.97 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002559/0.01225, allocations: 16 kB / 0.5251 GB, free: 12.66 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001942/0.01245, allocations: 117.5 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.01276, allocations: 88.72 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01276, allocations: 1.125 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.0129, allocations: 47.91 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.01319, allocations: 13.34 kB / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.01362, allocations: 170 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.0137, allocations: 72.64 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.01374, allocations: 8.484 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.01378, allocations: 16.97 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01378, allocations: 0.5625 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.004068/0.01785, allocations: 1.09 MB / 0.5267 GB, free: 11.07 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.851044062059373]