Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009157/0.0009157, allocations: 93.06 kB / 19.65 MB, free: 280 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.001034/0.001034, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7978/0.7978, allocations: 154.6 MB / 414.5 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.717e-06/3.717e-06, allocations: 4 kB / 0.5204 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.405e-05, allocations: 4.547 kB / 0.5204 GB, free: 2.105 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002512/0.002536, allocations: 0.8538 MB / 0.5212 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.004326, allocations: 1.232 MB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.004398, allocations: 1.625 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.004446, allocations: 11.86 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.004539, allocations: 19.86 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.005099, allocations: 148.9 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.005332, allocations: 171.6 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.005464, allocations: 29.86 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.005613, allocations: 87.86 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.005726, allocations: 56.61 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.00576, allocations: 12 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.005837, allocations: 37.38 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.005871, allocations: 23.92 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.005945, allocations: 47.89 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.006161, allocations: 135.5 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.006165, allocations: 5.297 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006166, allocations: 0 / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.006171, allocations: 0 / 0.5232 GB, free: 15.27 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.0006421/0.006813, allocations: 0.5121 MB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006851, allocations: 12.03 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.006918, allocations: 24.83 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.007289, allocations: 179.1 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.007308, allocations: 12.38 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.007349, allocations: 12.38 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.007526, allocations: 87.61 kB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.007534, allocations: 0.75 kB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.007551, allocations: 4.938 kB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.007561, allocations: 4.125 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.007619, allocations: 26.3 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.008216, allocations: 364.9 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.646e-05/0.008263, allocations: 31 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.008286, allocations: 11.81 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.008304, allocations: 4.656 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.825e-05/0.008402, allocations: 81.86 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.008404, allocations: 0 / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001884/0.008592, allocations: 107.2 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.008619, allocations: 55.34 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.008719, allocations: 202 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.008739, allocations: 29.7 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.008808, allocations: 163.3 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.008828, allocations: 27.75 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.008886, allocations: 56.38 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.009003, allocations: 0.5 MB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.009078, allocations: 63.92 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.009191, allocations: 185.6 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.00934, allocations: 212.2 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.009343, allocations: 0 / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000248/0.009591, allocations: 252 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.009618, allocations: 33.7 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.009624, allocations: 4.656 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.009641, allocations: 7.984 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.009705, allocations: 20.88 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.009713, allocations: 7.984 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.009804, allocations: 34.56 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.009821, allocations: 11.98 kB / 0.5264 GB, free: 11.62 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.98e-05/0.009901, allocations: 176.4 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.009916, allocations: 15.95 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.009943, allocations: 8.781 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.009945, allocations: 7.125 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009949, allocations: 3.984 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009952, allocations: 0 / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.01023, allocations: 365.3 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01023, allocations: 0 / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.01027, allocations: 11.98 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01027, allocations: 0 / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01028, allocations: 8 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01028, allocations: 1.719 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01028, allocations: 0 / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01044, allocations: 255.8 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.01045, allocations: 11.91 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01046, allocations: 3.438 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.01051, allocations: 11.98 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.01054, allocations: 11.92 kB / 0.5273 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01055, allocations: 3.938 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.0106, allocations: 149.8 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001879/0.01079, allocations: 35.92 kB / 0.5274 GB, free: 10.5 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.0001025/0.01089, allocations: 106.6 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01108, allocations: 182.5 kB / 0.5277 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01108, allocations: 0 / 0.5277 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.01112, allocations: 35.61 kB / 0.5277 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.01131, allocations: 22.98 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.01167, allocations: 242.5 kB / 0.528 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.01172, allocations: 79.7 kB / 0.5281 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.01175, allocations: 16.61 kB / 0.5281 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.01178, allocations: 16.5 kB / 0.5281 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.01178, allocations: 0 / 0.5281 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of Templates: time 0.003288/0.01507, allocations: 1.747 MB / 0.5298 GB, free: 8.121 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.900913151912391]