Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008657/0.0008657, allocations: 105.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.001053/0.001053, allocations: 208.1 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.9638/0.9638, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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-531:686: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-531:694: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.7948/0.7948, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_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.001007/0.001007, allocations: 74.55 kB / 0.7178 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5459, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00147/0.5474, allocations: 0.7787 MB / 0.8182 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.5488, allocations: 1.51 MB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.5489, allocations: 10.38 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.549, allocations: 15.28 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.5491, allocations: 33.34 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.5519, allocations: 0.5247 MB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.5525, allocations: 474 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.5526, allocations: 28.27 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.5528, allocations: 191.3 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.553, allocations: 149.1 kB / 0.821 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.5531, allocations: 45.22 kB / 0.821 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.073e-05/0.5532, allocations: 52.64 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.5532, allocations: 43.75 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.5534, allocations: 151.2 kB / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.5538, allocations: 412.9 kB / 0.8217 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5538, allocations: 4 kB / 0.8217 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5538, allocations: 0 / 0.8217 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5538, allocations: 0 / 0.8217 GB, free: 14.81 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.0006229/0.5545, allocations: 0.5684 MB / 0.8222 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5545, allocations: 16.28 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.5545, allocations: 45.75 kB / 0.8223 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.5546, allocations: 33.03 kB / 0.8223 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.5549, allocations: 201.7 kB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.5549, allocations: 20.88 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.5549, allocations: 31.62 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.5551, allocations: 152.3 kB / 0.8227 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5551, allocations: 5.281 kB / 0.8227 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5552, allocations: 6.297 kB / 0.8227 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5552, allocations: 3.922 kB / 0.8227 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.5553, allocations: 88.44 kB / 0.8228 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.556, allocations: 0.5958 MB / 0.8234 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.5561, allocations: 82.05 kB / 0.8235 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.5562, allocations: 41.22 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.5562, allocations: 1.219 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.5564, allocations: 161.8 kB / 0.8237 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.5564, allocations: 1.344 kB / 0.8237 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0003896/0.5568, allocations: 249.7 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.5568, allocations: 59.83 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.557, allocations: 192.2 kB / 0.8241 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.557, allocations: 39.59 kB / 0.8242 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.5571, allocations: 128.5 kB / 0.8243 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.5571, allocations: 40.44 kB / 0.8243 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.5573, allocations: 120.3 kB / 0.8245 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.5574, allocations: 328.8 kB / 0.8248 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.5577, allocations: 310.7 kB / 0.8251 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.5581, allocations: 395.8 kB / 0.8254 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.5585, allocations: 409.8 kB / 0.8258 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5585, allocations: 1.094 kB / 0.8258 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008111/0.5593, allocations: 0.7825 MB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.5594, allocations: 166.3 kB / 0.8268 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5594, allocations: 0.6562 kB / 0.8268 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5594, allocations: 3.969 kB / 0.8268 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.5595, allocations: 14.27 kB / 0.8268 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5595, allocations: 2.188 kB / 0.8268 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.5599, allocations: 143.5 kB / 0.8269 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.56, allocations: 34.72 kB / 0.827 GB, free: 10.92 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.0001345/0.5601, allocations: 163.2 kB / 0.8271 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.5601, allocations: 20.28 kB / 0.8271 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.5601, allocations: 18.58 kB / 0.8271 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5601, allocations: 2.219 kB / 0.8271 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5602, allocations: 1.125 kB / 0.8272 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5602, allocations: 1.453 kB / 0.8272 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.5606, allocations: 475.1 kB / 0.8276 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5606, allocations: 1.188 kB / 0.8276 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.5606, allocations: 4.047 kB / 0.8276 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5606, allocations: 5.156 kB / 0.8276 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5606, allocations: 8.5 kB / 0.8276 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5606, allocations: 0.8438 kB / 0.8276 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5606, allocations: 5.531 kB / 0.8276 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.5609, allocations: 287.3 kB / 0.8279 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.5609, allocations: 12.25 kB / 0.8279 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5609, allocations: 4.594 kB / 0.8279 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.5609, allocations: 5.734 kB / 0.8279 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.561, allocations: 20.25 kB / 0.8279 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.561, allocations: 6.859 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.5611, allocations: 118.7 kB / 0.8281 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5611, allocations: 5.188 kB / 0.8281 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000292/0.5614, allocations: 86.58 kB / 0.8282 GB, free: 10.09 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.0004639/0.5618, allocations: 0.8211 MB / 0.829 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006232/0.5624, allocations: 0.6982 MB / 0.8296 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5625, allocations: 0.6875 kB / 0.8296 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.5625, allocations: 70.88 kB / 0.8297 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5628, allocations: 48.95 kB / 0.8297 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.5667, allocations: 3.625 MB / 0.8333 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.5668, allocations: 117.3 kB / 0.8334 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.482e-05/0.5668, allocations: 22.73 kB / 0.8334 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.5669, allocations: 56.05 kB / 0.8335 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.5669, allocations: 4 kB / 0.8335 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.5878, allocations: 7.531 MB / 0.8408 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.276, allocations: 3.156 kB / 0.8408 GB, free: 3.184 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.317144507076591] Failed to read output from testmodel.py, exit status != 0: 7.356511706020683 7.371932976 6.815058688 Calling exit ...