Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.002367/0.002367, 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.002769/0.002769, 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.357/1.357, allocations: 154.8 MB / 414.4 MB, free: 456 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.613e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002037/0.002063, allocations: 0.8505 MB / 0.5208 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.003838, allocations: 1.202 MB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.003894, allocations: 4.5 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.003928, allocations: 7.875 kB / 0.5219 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.004021, allocations: 20.83 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.004523, allocations: 156.7 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.004779, allocations: 167.7 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004886, allocations: 27.06 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.005057, allocations: 99.84 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005171, allocations: 51.84 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.005213, allocations: 16 kB / 0.5225 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.00529, allocations: 27.94 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.005331, allocations: 29.7 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.005414, allocations: 47.89 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.005707, allocations: 187.4 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005709, allocations: 0 / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.12e-07/0.00571, allocations: 0 / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.005714, allocations: 1.594 kB / 0.5227 GB, free: 15.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008055/0.006519, allocations: 0.5161 MB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.006559, allocations: 8.031 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.006636, allocations: 29.58 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.007324, allocations: 185.9 kB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.007344, allocations: 8.375 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.00738, allocations: 12.38 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.007599, allocations: 83.56 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.007609, allocations: 192 / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.00762, allocations: 384 / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007629, allocations: 8.125 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.007769, allocations: 44.94 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.008544, allocations: 374.4 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.008659, allocations: 46.92 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.008731, allocations: 23.8 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.00875, allocations: 4 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.008954, allocations: 96.97 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.008955, allocations: 0.5625 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003939/0.009349, allocations: 122.1 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.0094, allocations: 56.22 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.009609, allocations: 219 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.009649, allocations: 35.23 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.009774, allocations: 158.9 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.009805, allocations: 27.8 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.009911, allocations: 55.31 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002745/0.01019, allocations: 0.501 MB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.01037, allocations: 85.66 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.01067, allocations: 210.6 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.01103, allocations: 233.4 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01103, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005635/0.0116, allocations: 287.9 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.01164, allocations: 33.7 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.01165, allocations: 5.312 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01167, allocations: 4 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.01177, allocations: 23.98 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01179, allocations: 12.45 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.01197, allocations: 30.28 kB / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.012, allocations: 8 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001579/0.01216, allocations: 186.3 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.01219, allocations: 15.95 kB / 0.5263 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.01223, allocations: 15.22 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01223, allocations: 0 / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01224, allocations: 4 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01224, allocations: 3.984 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.01285, allocations: 393.2 kB / 0.5267 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01285, allocations: 0 / 0.5267 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.01293, allocations: 14.39 kB / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01293, allocations: 0 / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01295, allocations: 8 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01295, allocations: 3.938 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01295, allocations: 0 / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.01337, allocations: 282.3 kB / 0.527 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.01339, allocations: 11.98 kB / 0.5271 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01341, allocations: 4 kB / 0.5271 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.01349, allocations: 7.984 kB / 0.5271 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.01354, allocations: 11.92 kB / 0.5271 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01355, allocations: 7.938 kB / 0.5271 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001152/0.01367, allocations: 161 kB / 0.5272 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01367, allocations: 3.906 kB / 0.5272 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002871/0.01396, allocations: 31.94 kB / 0.5273 GB, free: 10.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001702/0.01413, allocations: 103.2 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.01457, allocations: 226 kB / 0.5276 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01457, allocations: 0 / 0.5276 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.01468, allocations: 47.53 kB / 0.5276 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.01498, allocations: 19.98 kB / 0.5276 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.01558, allocations: 258.5 kB / 0.5279 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.01571, allocations: 95.31 kB / 0.528 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.583e-05/0.01577, allocations: 16.89 kB / 0.528 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.01582, allocations: 20.44 kB / 0.528 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01582, allocations: 0 / 0.528 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of Templates: time 0.005734/0.02155, allocations: 1.751 MB / 0.5297 GB, free: 7.82 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.16368978691753]