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.00191/0.00191, allocations: 85.48 kB / 19.44 MB, free: 344 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.00219/0.00219, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.314/1.314, allocations: 154.8 MB / 414.4 MB, free: 472 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.465e-06/2.465e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.234e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002017/0.002049, allocations: 0.6785 MB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.003824, allocations: 1.109 MB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.003879, allocations: 3.938 kB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.003908, allocations: 3.938 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.003992, allocations: 4.906 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.004322, allocations: 56.72 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004471, allocations: 71.83 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.004583, allocations: 7.984 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004711, allocations: 49.39 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.004786, allocations: 19.97 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.004814, allocations: 8 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.00489, allocations: 19.98 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.00493, allocations: 17.02 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.004975, allocations: 23.97 kB / 0.5219 GB, free: 292 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.005171, allocations: 87.67 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.005174, allocations: 0.6875 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.005175, allocations: 0 / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.005181, allocations: 1.281 kB / 0.5219 GB, free: 204 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.00107/0.006251, allocations: 405.1 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006295, allocations: 8.031 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.006431, allocations: 16.83 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.006563, allocations: 109.3 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.006591, allocations: 13.09 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.006611, allocations: 12.3 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.006845, allocations: 75.06 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.006857, allocations: 192 / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.006872, allocations: 384 / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.006878, allocations: 2.75 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.007053, allocations: 47.91 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.007666, allocations: 299.6 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.007884, allocations: 87.84 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.00798, allocations: 31.67 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.008006, allocations: 1.344 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.008196, allocations: 93.16 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.008197, allocations: 0 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.000506/0.008703, allocations: 162.1 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.008764, allocations: 60.12 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.008914, allocations: 169.9 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.00895, allocations: 38.19 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.009048, allocations: 132 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.009091, allocations: 31.86 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.009165, allocations: 47.98 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003058/0.009471, allocations: 0.4923 MB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.009581, allocations: 28.52 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.009715, allocations: 75.64 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.009935, allocations: 95.89 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009937, allocations: 0.9062 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003068/0.01024, allocations: 135.3 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01026, allocations: 11.94 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01027, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01028, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01042, allocations: 25.73 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01043, allocations: 7.875 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.0105, allocations: 8.25 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01051, allocations: 4 kB / 0.5246 GB, free: 13.3 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.0001525/0.01067, allocations: 169.3 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.0107, allocations: 19.89 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.01103, allocations: 135 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01104, allocations: 1.156 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01104, allocations: 0 / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01104, allocations: 4 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.01162, allocations: 404.2 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01162, allocations: 0 / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.01168, allocations: 11.98 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01168, allocations: 0 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01169, allocations: 0 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01169, allocations: 0 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.0117, allocations: 7.938 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.01208, allocations: 287.4 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.01209, allocations: 7.953 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01211, allocations: 4 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.01221, allocations: 7.984 kB / 0.5256 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.01226, allocations: 7.938 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.01227, allocations: 3.984 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.899e-05/0.01237, allocations: 131.2 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01237, allocations: 0 / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002444/0.01261, allocations: 21.5 kB / 0.5257 GB, free: 12.03 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.0001878/0.0128, allocations: 103.2 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.01309, allocations: 101 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01309, allocations: 0 / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.01322, allocations: 47.61 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.0135, allocations: 18.41 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.01393, allocations: 167.5 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.01402, allocations: 79.72 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.01405, allocations: 5 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.0141, allocations: 27.52 kB / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.0141, allocations: 0 / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.004669/0.01877, allocations: 1.09 MB / 0.5273 GB, free: 10.41 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.162113507045433]