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.0009144/0.0009144, allocations: 80.44 kB / 19.15 MB, free: 0.6211 MB / 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.0007875/0.0007875, allocations: 169.9 kB / 22.44 MB, free: 1.984 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 0.9046/0.9046, allocations: 177.2 MB / 202.8 MB, free: 5.758 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-531:190: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-531:198: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.7003/0.7003, allocations: 154.9 MB / 414.2 MB, free: 496 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 65.34 kB / 0.6187 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4436, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001568/0.4451, allocations: 0.8432 MB / 0.7191 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.4461, allocations: 1.198 MB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.4462, allocations: 1.094 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.4462, allocations: 9.938 kB / 0.7203 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.4463, allocations: 15.11 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.4467, allocations: 161.9 kB / 0.7205 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.4469, allocations: 166.2 kB / 0.7206 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.447, allocations: 31.97 kB / 0.7207 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.4471, allocations: 95.23 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.4472, allocations: 59.03 kB / 0.7208 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.4473, allocations: 15.22 kB / 0.7208 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.4473, allocations: 27.16 kB / 0.7209 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.4474, allocations: 25.64 kB / 0.7209 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.4474, allocations: 58.06 kB / 0.7209 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.4476, allocations: 202.6 kB / 0.7211 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4476, allocations: 4 kB / 0.7211 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.337e-06/0.4476, allocations: 1.125 kB / 0.7211 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.4477, allocations: 0.5156 kB / 0.7211 GB, free: 21.3 MB / 0.6355 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.0005151/0.4482, allocations: 415.8 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4482, allocations: 11.31 kB / 0.7216 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.301e-05/0.4482, allocations: 43.53 kB / 0.7216 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.4483, allocations: 17.38 kB / 0.7216 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.4486, allocations: 187 kB / 0.7218 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4486, allocations: 14.86 kB / 0.7218 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.4486, allocations: 17.67 kB / 0.7218 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4488, allocations: 94.98 kB / 0.7219 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4488, allocations: 0 / 0.7219 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4488, allocations: 1.812 kB / 0.7219 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4488, allocations: 2.312 kB / 0.7219 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4489, allocations: 50.16 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.4494, allocations: 332.7 kB / 0.7223 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.4495, allocations: 32.81 kB / 0.7223 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.4495, allocations: 25.64 kB / 0.7223 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4496, allocations: 8.953 kB / 0.7223 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.4498, allocations: 105.4 kB / 0.7224 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4498, allocations: 0 / 0.7224 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003255/0.4501, allocations: 130.3 kB / 0.7226 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4501, allocations: 63.52 kB / 0.7226 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.4502, allocations: 146 kB / 0.7228 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4502, allocations: 32.66 kB / 0.7228 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.4503, allocations: 110.6 kB / 0.7229 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.4503, allocations: 26.23 kB / 0.7229 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.4504, allocations: 56.42 kB / 0.723 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.4504, allocations: 321.8 kB / 0.7233 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4505, allocations: 81.31 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4506, allocations: 163 kB / 0.7235 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4508, allocations: 202.3 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4508, allocations: 1.094 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002872/0.4511, allocations: 280.8 kB / 0.724 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4511, allocations: 35.67 kB / 0.724 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4511, allocations: 4.047 kB / 0.724 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4511, allocations: 4.281 kB / 0.724 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.4512, allocations: 27.17 kB / 0.7241 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4512, allocations: 9.031 kB / 0.7241 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4513, allocations: 47.45 kB / 0.7241 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4514, allocations: 10.39 kB / 0.7241 GB, free: 18.91 MB / 0.6355 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 6.023e-05/0.4514, allocations: 130 kB / 0.7242 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.4514, allocations: 9.25 kB / 0.7242 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.4515, allocations: 12.66 kB / 0.7243 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4515, allocations: 6.312 kB / 0.7243 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4515, allocations: 4 kB / 0.7243 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4515, allocations: 5.172 kB / 0.7243 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.4518, allocations: 368 kB / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4518, allocations: 0 / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.4518, allocations: 16.92 kB / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4518, allocations: 1.219 kB / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4518, allocations: 1.969 kB / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4518, allocations: 1.031 kB / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4518, allocations: 0.6562 kB / 0.7246 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.4521, allocations: 246.7 kB / 0.7249 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.4521, allocations: 12.23 kB / 0.7249 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.4521, allocations: 1.797 kB / 0.7249 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.4521, allocations: 10.25 kB / 0.7249 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.4522, allocations: 7.422 kB / 0.7249 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4522, allocations: 4.156 kB / 0.7249 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.4522, allocations: 111 kB / 0.725 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4522, allocations: 0 / 0.725 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00019/0.4524, allocations: 36.64 kB / 0.7251 GB, free: 18.17 MB / 0.6355 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.0003723/0.4528, allocations: 0.7762 MB / 0.7258 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.453, allocations: 197.9 kB / 0.726 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.453, allocations: 5.625 kB / 0.726 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.4531, allocations: 44.61 kB / 0.7261 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4533, allocations: 20.62 kB / 0.7261 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.4547, allocations: 2.083 MB / 0.7281 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.4548, allocations: 91.06 kB / 0.7282 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.4548, allocations: 16 kB / 0.7282 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.4549, allocations: 38.31 kB / 0.7282 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.4549, allocations: 0 / 0.7282 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.4714, allocations: 3.966 MB / 0.7321 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7.02, allocations: 13.06 kB / 0.7321 GB, free: 14.39 MB / 0.6355 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.693169014994055] Failed to read output from testmodel.py, exit status != 0: 7.1006231310311705 7.114084367 6.664016172 Calling exit ...