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.000955/0.000955, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.00141/0.00141, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9967/0.9967, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8013/0.8013, allocations: 154.9 MB / 415.9 MB, free: 232 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 179] 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.864e-06/1.864e-06, allocations: 0 / 0.522 GB, free: 1.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.133e-05, allocations: 7.188 kB / 0.522 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001379/0.0014, allocations: 0.8598 MB / 0.5228 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002628, allocations: 1.228 MB / 0.524 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.002689, allocations: 2.438 kB / 0.524 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.002722, allocations: 7.875 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.282e-05/0.002805, allocations: 19.8 kB / 0.524 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.003434, allocations: 143.6 kB / 0.5242 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.003601, allocations: 172.1 kB / 0.5243 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.003698, allocations: 25.3 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.003829, allocations: 104.3 kB / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.003921, allocations: 48.75 kB / 0.5245 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.003944, allocations: 9.531 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.004003, allocations: 27.92 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.004031, allocations: 23.91 kB / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.004077, allocations: 43.89 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.00422, allocations: 120.5 kB / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004222, allocations: 0 / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004223, allocations: 0 / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004227, allocations: 1.438 kB / 0.5247 GB, free: 14.47 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.0005187/0.004745, allocations: 0.5125 MB / 0.5252 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.00478, allocations: 9.156 kB / 0.5252 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.004828, allocations: 24.88 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.005002, allocations: 162.2 kB / 0.5254 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.005017, allocations: 9.062 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.005043, allocations: 16.36 kB / 0.5254 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.005174, allocations: 80.2 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005181, allocations: 4.125 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.00519, allocations: 384 / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005196, allocations: 4.875 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.817e-05/0.005224, allocations: 21.02 kB / 0.5255 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.005656, allocations: 336.6 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.005702, allocations: 38.92 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.005719, allocations: 13.84 kB / 0.5259 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.005732, allocations: 8 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.713e-05/0.005819, allocations: 73.02 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.00582, allocations: 0 / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001607/0.005981, allocations: 102.9 kB / 0.5261 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.006011, allocations: 55.41 kB / 0.5261 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.006102, allocations: 199 kB / 0.5263 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.006121, allocations: 36.94 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.00618, allocations: 158.8 kB / 0.5265 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.0062, allocations: 35.72 kB / 0.5265 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.006252, allocations: 47.33 kB / 0.5266 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.006359, allocations: 0.5 MB / 0.5271 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.006414, allocations: 57.69 kB / 0.5271 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.00651, allocations: 175.5 kB / 0.5273 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.006637, allocations: 209.9 kB / 0.5275 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006639, allocations: 0 / 0.5275 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000221/0.00686, allocations: 235.4 kB / 0.5277 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.006888, allocations: 41.62 kB / 0.5278 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.006895, allocations: 8.625 kB / 0.5278 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006905, allocations: 4 kB / 0.5278 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.006969, allocations: 20.48 kB / 0.5278 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.006975, allocations: 10.31 kB / 0.5278 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.007069, allocations: 35.92 kB / 0.5278 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.007083, allocations: 8 kB / 0.5278 GB, free: 10.92 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 7.659e-05/0.00716, allocations: 174.4 kB / 0.528 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.007174, allocations: 18.38 kB / 0.528 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.007198, allocations: 12.78 kB / 0.528 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.0072, allocations: 0 / 0.528 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007202, allocations: 0 / 0.528 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007206, allocations: 4.031 kB / 0.528 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.007463, allocations: 345.8 kB / 0.5284 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007464, allocations: 1.875 kB / 0.5284 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.007506, allocations: 15.98 kB / 0.5284 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007507, allocations: 4 kB / 0.5284 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.007514, allocations: 0 / 0.5284 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007515, allocations: 0 / 0.5284 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007516, allocations: 1.031 kB / 0.5284 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.007664, allocations: 251.7 kB / 0.5286 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.007673, allocations: 8.844 kB / 0.5286 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007685, allocations: 8 kB / 0.5287 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.007723, allocations: 4 kB / 0.5287 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.007748, allocations: 5.547 kB / 0.5287 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.007756, allocations: 11.98 kB / 0.5287 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.007805, allocations: 142.1 kB / 0.5288 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007805, allocations: 0 / 0.5288 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001916/0.007997, allocations: 33.22 kB / 0.5288 GB, free: 9.848 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.0001016/0.008099, allocations: 107.7 kB / 0.5289 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.008267, allocations: 170.8 kB / 0.5291 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.008268, allocations: 0 / 0.5291 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.008299, allocations: 31.61 kB / 0.5291 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.008488, allocations: 29.39 kB / 0.5292 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.00884, allocations: 247.8 kB / 0.5294 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.008877, allocations: 71.83 kB / 0.5295 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.008918, allocations: 12.34 kB / 0.5295 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.009001, allocations: 100.6 kB / 0.5296 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.009001, allocations: 0 / 0.5296 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.003618/0.01262, allocations: 1.946 MB / 0.5315 GB, free: 7.207 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: 3.79730137065053]