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.0007902/0.0007902, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009163/0.0009163, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 1.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.613 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.8187/0.8187, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009708/0.0009708, allocations: 69.22 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5444/0.5454, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001587/0.547, allocations: 0.7948 MB / 0.8186 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.5484, allocations: 1.504 MB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.5485, allocations: 0.8125 kB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.5486, allocations: 17.91 kB / 0.8201 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.5487, allocations: 36.72 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.5497, allocations: 0.5201 MB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.5501, allocations: 481.4 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.5503, allocations: 26.62 kB / 0.8211 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.5504, allocations: 185.6 kB / 0.8213 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.5507, allocations: 151.5 kB / 0.8214 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.5508, allocations: 42.28 kB / 0.8215 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.5509, allocations: 52.3 kB / 0.8215 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.5509, allocations: 54.64 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.5511, allocations: 154.4 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.5516, allocations: 409.3 kB / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5516, allocations: 1.5 kB / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5516, allocations: 0 / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5516, allocations: 0 / 0.8221 GB, free: 14.61 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.0007233/0.5523, allocations: 0.5688 MB / 0.8227 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5523, allocations: 9.25 kB / 0.8227 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.5524, allocations: 46.8 kB / 0.8227 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.5525, allocations: 28.97 kB / 0.8227 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.5527, allocations: 213.8 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.5528, allocations: 17.41 kB / 0.823 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.5528, allocations: 30.61 kB / 0.823 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.5531, allocations: 152.5 kB / 0.8231 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5531, allocations: 4.5 kB / 0.8231 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.5531, allocations: 5.953 kB / 0.8231 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5531, allocations: 8.641 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.5532, allocations: 80.67 kB / 0.8232 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.5539, allocations: 0.5952 MB / 0.8238 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.5541, allocations: 91.25 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.5541, allocations: 39.8 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5541, allocations: 1.938 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.5544, allocations: 158.4 kB / 0.8241 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.5544, allocations: 0 / 0.8241 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0003831/0.5548, allocations: 254.4 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5548, allocations: 55.53 kB / 0.8244 GB, free: 13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.555, allocations: 186.6 kB / 0.8246 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.555, allocations: 43.88 kB / 0.8246 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.5551, allocations: 129.2 kB / 0.8247 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.5551, allocations: 45 kB / 0.8248 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.5553, allocations: 117.3 kB / 0.8249 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.5554, allocations: 326.9 kB / 0.8252 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.5557, allocations: 311.7 kB / 0.8255 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.556, allocations: 392.2 kB / 0.8259 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.5563, allocations: 410.2 kB / 0.8263 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5563, allocations: 1.406 kB / 0.8263 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008215/0.5572, allocations: 0.7785 MB / 0.827 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.5573, allocations: 166.3 kB / 0.8272 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5573, allocations: 3 kB / 0.8272 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.5573, allocations: 9.078 kB / 0.8272 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.5573, allocations: 10.94 kB / 0.8272 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.5574, allocations: 4.547 kB / 0.8272 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.5579, allocations: 151.9 kB / 0.8273 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.5579, allocations: 33.91 kB / 0.8274 GB, free: 10.71 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.0001554/0.5581, allocations: 155.5 kB / 0.8275 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5581, allocations: 23.75 kB / 0.8275 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.5581, allocations: 22.86 kB / 0.8276 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5581, allocations: 3.344 kB / 0.8276 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5582, allocations: 0 / 0.8276 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5582, allocations: 1.125 kB / 0.8276 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.5586, allocations: 472.9 kB / 0.828 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5587, allocations: 5.141 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.5587, allocations: 8.234 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5587, allocations: 1.719 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.5587, allocations: 8.672 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5587, allocations: 4 kB / 0.8281 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5587, allocations: 1.25 kB / 0.8281 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.559, allocations: 282.8 kB / 0.8283 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.559, allocations: 13.77 kB / 0.8283 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.559, allocations: 3.125 kB / 0.8283 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.5591, allocations: 6.5 kB / 0.8283 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.5591, allocations: 23.36 kB / 0.8284 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.5591, allocations: 11.27 kB / 0.8284 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.871e-05/0.5592, allocations: 119.6 kB / 0.8285 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5592, allocations: 0 / 0.8285 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003049/0.5595, allocations: 86.53 kB / 0.8286 GB, free: 9.883 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.000518/0.56, allocations: 0.8256 MB / 0.8294 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006259/0.5607, allocations: 0.7004 MB / 0.8301 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5607, allocations: 1.125 kB / 0.8301 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/0.5608, allocations: 67.05 kB / 0.8301 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.5611, allocations: 56.36 kB / 0.8302 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.5648, allocations: 3.609 MB / 0.8337 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.5649, allocations: 121 kB / 0.8338 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.054e-05/0.565, allocations: 21.88 kB / 0.8338 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.5651, allocations: 55.86 kB / 0.8339 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.5651, allocations: 0 / 0.8339 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.5913, allocations: 7.531 MB / 0.8413 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/7.239, allocations: 10.31 kB / 0.8413 GB, free: 2.871 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.276911324821413] Failed to read output from testmodel.py, exit status != 0: 7.320090246852487 7.330578561 6.776523413 Calling exit ...