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.000785/0.000785, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008209/0.0008209, allocations: 209.7 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9957/0.9957, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.8049/0.8049, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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.001531/0.001531, allocations: 66.61 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5632, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001867/0.565, allocations: 0.8494 MB / 0.8187 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.5663, allocations: 1.196 MB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.5663, allocations: 3.875 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.5664, allocations: 9.844 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.712e-05/0.5665, allocations: 20.78 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.5669, allocations: 151 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.5672, allocations: 165.1 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.5673, allocations: 30.45 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.5674, allocations: 69.2 kB / 0.8203 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.5675, allocations: 63.55 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.5675, allocations: 16.06 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.5676, allocations: 26.61 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.5677, allocations: 30.19 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.5677, allocations: 57.45 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.568, allocations: 167.7 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.568, allocations: 0.7969 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.568, allocations: 1.781 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.568, allocations: 3.938 kB / 0.8206 GB, free: 15.25 MB / 0.6198 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.0007682/0.5688, allocations: 419.7 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.5689, allocations: 10.16 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003695/0.5692, allocations: 43.3 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.5693, allocations: 19.72 kB / 0.8211 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.5697, allocations: 180.4 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5698, allocations: 10.75 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.5698, allocations: 13.16 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.57, allocations: 91.81 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.57, allocations: 0 / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.57, allocations: 6.422 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.57, allocations: 7.625 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.5701, allocations: 50.2 kB / 0.8214 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.5707, allocations: 330.6 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.5708, allocations: 41.39 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.5709, allocations: 24.39 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.5709, allocations: 2.469 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.5711, allocations: 100.6 kB / 0.8219 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.5711, allocations: 3.938 kB / 0.8219 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003143/0.5714, allocations: 125.8 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.5714, allocations: 63.16 kB / 0.8221 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5716, allocations: 146.5 kB / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.5716, allocations: 28.39 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.5716, allocations: 110.8 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.5717, allocations: 38.31 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.5717, allocations: 49.92 kB / 0.8224 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.5718, allocations: 320.3 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.5719, allocations: 81.97 kB / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5721, allocations: 163.2 kB / 0.823 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.5723, allocations: 207.1 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.5723, allocations: 1.281 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003602/0.5727, allocations: 272.4 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.5727, allocations: 43.23 kB / 0.8235 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5727, allocations: 3.578 kB / 0.8235 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5727, allocations: 8.062 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.5728, allocations: 31.58 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.5728, allocations: 8.578 kB / 0.8235 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.573, allocations: 39.86 kB / 0.8236 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.573, allocations: 14.73 kB / 0.8236 GB, free: 12.86 MB / 0.6198 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 9.589e-05/0.5731, allocations: 131.4 kB / 0.8237 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.5731, allocations: 8.781 kB / 0.8237 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.5731, allocations: 12.58 kB / 0.8237 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5731, allocations: 5.25 kB / 0.8237 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5731, allocations: 5.609 kB / 0.8237 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5732, allocations: 0.5156 kB / 0.8237 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.5736, allocations: 359.9 kB / 0.8241 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5736, allocations: 0 / 0.8241 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.5736, allocations: 16.86 kB / 0.8241 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5736, allocations: 1.25 kB / 0.8241 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5737, allocations: 1.812 kB / 0.8241 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5737, allocations: 1.156 kB / 0.8241 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.5737, allocations: 4 kB / 0.8241 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.574, allocations: 243.6 kB / 0.8243 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.574, allocations: 15.83 kB / 0.8244 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.574, allocations: 2.094 kB / 0.8244 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.574, allocations: 11.09 kB / 0.8244 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.5741, allocations: 11 kB / 0.8244 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.5741, allocations: 3.984 kB / 0.8244 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.5741, allocations: 105.6 kB / 0.8245 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5741, allocations: 5.312 kB / 0.8245 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002105/0.5744, allocations: 33.42 kB / 0.8245 GB, free: 12.13 MB / 0.6198 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.0005279/0.5749, allocations: 0.7837 MB / 0.8253 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.5752, allocations: 205.4 kB / 0.8255 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5752, allocations: 1.094 kB / 0.8255 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.5753, allocations: 36.81 kB / 0.8255 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.5755, allocations: 17.44 kB / 0.8255 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.5773, allocations: 2.083 MB / 0.8276 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.5774, allocations: 96.94 kB / 0.8277 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.5774, allocations: 12.91 kB / 0.8277 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.5775, allocations: 43.34 kB / 0.8277 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5775, allocations: 0 / 0.8277 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.6014, allocations: 3.823 MB / 0.8315 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/7.215, allocations: 10.09 kB / 0.8315 GB, free: 8.391 MB / 0.6198 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: 10.232386467978358] Failed to read output from testmodel.py, exit status != 0: 7.303149118088186 7.31709383 6.74609564 Calling exit ...