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.001405/0.001405, allocations: 92.7 kB / 19.44 MB, free: 324 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.001571/0.001571, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.2/1.2, allocations: 154.8 MB / 414.3 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.853e-06/1.853e-06, allocations: 0 / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.068e-05, allocations: 2.875 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.002047/0.002078, allocations: 0.8418 MB / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.003863, allocations: 1.207 MB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.003919, allocations: 4 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.00396, allocations: 7.875 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.004049, allocations: 15.86 kB / 0.5219 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.004566, allocations: 152.6 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.00481, allocations: 171.5 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004913, allocations: 22.2 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.00507, allocations: 99.8 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.005181, allocations: 55.19 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.005213, allocations: 13.03 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.005279, allocations: 27.98 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.005315, allocations: 27.91 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.005405, allocations: 48.83 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.005884, allocations: 195.4 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005886, allocations: 0 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005887, allocations: 0.625 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.005891, allocations: 1.188 kB / 0.5227 GB, free: 15.36 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.0007583/0.006649, allocations: 410.1 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.006683, allocations: 12.75 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.006762, allocations: 24.83 kB / 0.5232 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.007299, allocations: 183.3 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.007319, allocations: 9.906 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.007369, allocations: 24.27 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.007605, allocations: 86.2 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007613, allocations: 0.9375 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.007633, allocations: 8.359 kB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.00764, allocations: 5.25 kB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.007821, allocations: 43.97 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.00853, allocations: 309.4 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.008664, allocations: 40.92 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.008757, allocations: 20.84 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.008776, allocations: 0 / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.009047, allocations: 109 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.009048, allocations: 0 / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004721/0.00952, allocations: 138 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.00957, allocations: 56.38 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.009716, allocations: 143.2 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.009758, allocations: 37.69 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.00985, allocations: 101.3 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.009883, allocations: 31.78 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.009976, allocations: 49.69 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.01015, allocations: 331.4 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.01036, allocations: 78.69 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.01063, allocations: 164.8 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.011, allocations: 197.3 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.011, allocations: 1.219 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006126/0.01162, allocations: 292 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.01166, allocations: 33.7 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01167, allocations: 0 / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.01169, allocations: 7.031 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.01181, allocations: 27.92 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.01182, allocations: 7.984 kB / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.01206, allocations: 43.86 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.01209, allocations: 15.98 kB / 0.5256 GB, free: 12.09 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.000132/0.01222, allocations: 133 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.01225, allocations: 15.95 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.01229, allocations: 12.78 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.0123, allocations: 3.203 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.0123, allocations: 3.984 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01231, allocations: 3.984 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.0129, allocations: 338 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0129, allocations: 4 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.013, allocations: 15.92 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.013, allocations: 2.438 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.01302, allocations: 4 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01302, allocations: 0 / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01302, allocations: 3.984 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.01349, allocations: 247.5 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.01351, allocations: 3.953 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.01353, allocations: 8.031 kB / 0.5264 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.01363, allocations: 8.875 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.01367, allocations: 7.984 kB / 0.5264 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01369, allocations: 9.078 kB / 0.5264 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.338e-05/0.01378, allocations: 111.3 kB / 0.5265 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01378, allocations: 0 / 0.5265 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003096/0.01409, allocations: 28 kB / 0.5266 GB, free: 11.1 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.0001866/0.01428, allocations: 116.5 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.01471, allocations: 199.4 kB / 0.5269 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01471, allocations: 0 / 0.5269 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.01483, allocations: 33.47 kB / 0.5269 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.01515, allocations: 27.14 kB / 0.5269 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.0157, allocations: 248.8 kB / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.0158, allocations: 99.58 kB / 0.5272 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.96e-05/0.01586, allocations: 12.66 kB / 0.5273 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.0159, allocations: 24.48 kB / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.0159, allocations: 2.438 kB / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.005245/0.02115, allocations: 1.741 MB / 0.529 GB, free: 8.672 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.736661141971126]