Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0008091/0.0008091, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001156/0.001156, allocations: 219.6 kB / 22.26 MB, free: 3.691 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.9508/0.9508, allocations: 230.6 MB / 256 MB, free: 9.805 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.8137/0.8137, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",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.0009664/0.0009664, allocations: 70.88 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5249, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001865/0.5267, allocations: 0.8273 MB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.5282, allocations: 1.526 MB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.5283, allocations: 3.844 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.5285, allocations: 15.28 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.5285, allocations: 38.14 kB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.5295, allocations: 0.5231 MB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000486/0.53, allocations: 476.9 kB / 0.8212 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.5302, allocations: 26.94 kB / 0.8212 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.5303, allocations: 186.9 kB / 0.8214 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.5306, allocations: 182.1 kB / 0.8216 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.5306, allocations: 41.59 kB / 0.8216 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.5307, allocations: 56 kB / 0.8217 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.5308, allocations: 43.22 kB / 0.8217 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.531, allocations: 159.5 kB / 0.8219 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.5314, allocations: 416.9 kB / 0.8223 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5314, allocations: 1.125 kB / 0.8223 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5314, allocations: 0 / 0.8223 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5314, allocations: 0 / 0.8223 GB, free: 14.72 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000606/0.532, allocations: 0.5781 MB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5321, allocations: 8.656 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.5321, allocations: 47.03 kB / 0.8229 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.5322, allocations: 33.38 kB / 0.8229 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.5324, allocations: 200.8 kB / 0.8231 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.5325, allocations: 18.88 kB / 0.8231 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.5325, allocations: 30.39 kB / 0.8231 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.5327, allocations: 152.6 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5327, allocations: 3.938 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5328, allocations: 6.5 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5328, allocations: 2.812 kB / 0.8233 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.5329, allocations: 81.52 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.5336, allocations: 0.6783 MB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.5338, allocations: 86.05 kB / 0.8241 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.5338, allocations: 41.3 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.5338, allocations: 5.531 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.5341, allocations: 157.6 kB / 0.8243 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5341, allocations: 0 / 0.8243 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0003771/0.5344, allocations: 246.8 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5345, allocations: 61.48 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.5349, allocations: 187.2 kB / 0.8248 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.5349, allocations: 42.23 kB / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.535, allocations: 128.3 kB / 0.825 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.5351, allocations: 41.95 kB / 0.825 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.5352, allocations: 115.4 kB / 0.8251 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.5353, allocations: 328.3 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.5356, allocations: 161.7 kB / 0.8256 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.5358, allocations: 246.5 kB / 0.8258 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.5362, allocations: 409.2 kB / 0.8262 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5362, allocations: 0 / 0.8262 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007079/0.5369, allocations: 0.6364 MB / 0.8268 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.537, allocations: 164.9 kB / 0.827 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.537, allocations: 4.766 kB / 0.827 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.537, allocations: 2.812 kB / 0.827 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.537, allocations: 11.84 kB / 0.827 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.537, allocations: 4.781 kB / 0.827 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.5375, allocations: 143.9 kB / 0.8271 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.5375, allocations: 29.14 kB / 0.8272 GB, free: 11.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001246/0.5376, allocations: 163.3 kB / 0.8273 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.5376, allocations: 25.09 kB / 0.8273 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.5377, allocations: 18.14 kB / 0.8274 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5377, allocations: 2.406 kB / 0.8274 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5377, allocations: 0 / 0.8274 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5377, allocations: 2.547 kB / 0.8274 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.5381, allocations: 494.4 kB / 0.8278 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5381, allocations: 1.094 kB / 0.8278 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.5381, allocations: 8.297 kB / 0.8278 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5381, allocations: 1.375 kB / 0.8278 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5381, allocations: 7.656 kB / 0.8279 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5382, allocations: 1.859 kB / 0.8279 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5382, allocations: 0 / 0.8279 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.5384, allocations: 279.8 kB / 0.8281 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.5384, allocations: 21.55 kB / 0.8281 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.5384, allocations: 7.875 kB / 0.8282 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.5384, allocations: 6.766 kB / 0.8282 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.5385, allocations: 18.5 kB / 0.8282 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.5385, allocations: 7.938 kB / 0.8282 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.5386, allocations: 123.8 kB / 0.8283 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5386, allocations: 0 / 0.8283 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002516/0.5388, allocations: 85.56 kB / 0.8284 GB, free: 10.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004839/0.5393, allocations: 0.8294 MB / 0.8292 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.5399, allocations: 0.5509 MB / 0.8297 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5399, allocations: 0.6875 kB / 0.8297 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.54, allocations: 70.56 kB / 0.8298 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.5402, allocations: 48.52 kB / 0.8298 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.5432, allocations: 3.006 MB / 0.8328 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.5435, allocations: 0.7242 MB / 0.8335 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.5435, allocations: 21.56 kB / 0.8335 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.5436, allocations: 55.61 kB / 0.8336 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.5436, allocations: 4 kB / 0.8336 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.5632, allocations: 6.588 MB / 0.84 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/7.163, allocations: 3.719 kB / 0.84 GB, free: 4.391 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.149982776958495] Failed to read output from testmodel.py, exit status != 0: 7.241760198958218 7.253031975 6.719551908 Calling exit ...