Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 106 kB / 17.07 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 190.8 kB / 20.02 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.077/1.077, allocations: 147.7 MB / 445.6 MB, free: 8.438 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.89 kB / 0.6109 GB, free: 0 / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4962, allocations: 83.15 MB / 0.6921 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002199/0.4984, allocations: 0.7992 MB / 0.6929 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.5005, allocations: 1.485 MB / 0.6944 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.5006, allocations: 3.594 kB / 0.6944 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.5007, allocations: 15.8 kB / 0.6944 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.5008, allocations: 27.31 kB / 0.6944 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.5021, allocations: 0.5253 MB / 0.6949 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.5027, allocations: 0.4965 MB / 0.6954 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.5029, allocations: 44.81 kB / 0.6954 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.5032, allocations: 182.2 kB / 0.6956 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.5035, allocations: 175 kB / 0.6958 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.5036, allocations: 40.91 kB / 0.6958 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.5037, allocations: 55.39 kB / 0.6959 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.5038, allocations: 39.72 kB / 0.6959 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.504, allocations: 166 kB / 0.6961 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.5046, allocations: 408.5 kB / 0.6965 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5046, allocations: 7.938 kB / 0.6965 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5046, allocations: 0 / 0.6965 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5046, allocations: 0 / 0.6965 GB, free: 10.46 MB / 0.5137 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.0008208/0.5054, allocations: 0.6425 MB / 0.6971 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5055, allocations: 9.625 kB / 0.6971 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/0.5055, allocations: 46.86 kB / 0.6971 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.5056, allocations: 32.05 kB / 0.6972 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.506, allocations: 255.7 kB / 0.6974 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.5061, allocations: 22.11 kB / 0.6974 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.5061, allocations: 27.75 kB / 0.6975 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.5065, allocations: 154.1 kB / 0.6976 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5065, allocations: 3.938 kB / 0.6976 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.5065, allocations: 6.625 kB / 0.6976 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5065, allocations: 2.688 kB / 0.6976 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.5067, allocations: 94.61 kB / 0.6977 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.5077, allocations: 0.708 MB / 0.6984 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.5079, allocations: 167.7 kB / 0.6986 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.508, allocations: 48.91 kB / 0.6986 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.508, allocations: 4 kB / 0.6986 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.5083, allocations: 163.4 kB / 0.6988 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.5083, allocations: 3.938 kB / 0.6988 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0004825/0.5088, allocations: 246.7 kB / 0.699 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5089, allocations: 55.41 kB / 0.6991 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.509, allocations: 179 kB / 0.6992 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.5091, allocations: 37.7 kB / 0.6993 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.5093, allocations: 140.5 kB / 0.6994 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.5093, allocations: 35.69 kB / 0.6994 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.5095, allocations: 117.6 kB / 0.6996 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5097, allocations: 326.8 kB / 0.6999 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.5101, allocations: 159.9 kB / 0.7 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.5105, allocations: 238.2 kB / 0.7002 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.5111, allocations: 406.5 kB / 0.7006 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5111, allocations: 0 / 0.7006 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001136/0.5122, allocations: 0.6148 MB / 0.7012 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.5124, allocations: 168.4 kB / 0.7014 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5124, allocations: 4 kB / 0.7014 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.5125, allocations: 4 kB / 0.7014 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.5125, allocations: 11.94 kB / 0.7014 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5125, allocations: 4 kB / 0.7014 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.5133, allocations: 140 kB / 0.7016 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.5134, allocations: 35.97 kB / 0.7016 GB, free: 5.102 MB / 0.5137 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.0002376/0.5137, allocations: 157.7 kB / 0.7017 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.5137, allocations: 19.84 kB / 0.7018 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.5138, allocations: 21.86 kB / 0.7018 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5138, allocations: 0 / 0.7018 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.5138, allocations: 4 kB / 0.7018 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5138, allocations: 0 / 0.7018 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.5145, allocations: 0.5078 MB / 0.7023 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5145, allocations: 4 kB / 0.7023 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.5146, allocations: 4 kB / 0.7023 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5146, allocations: 7.875 kB / 0.7023 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5146, allocations: 4 kB / 0.7023 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5146, allocations: 4 kB / 0.7023 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5146, allocations: 0 / 0.7023 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.5149, allocations: 284.8 kB / 0.7026 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.515, allocations: 96.91 kB / 0.7027 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5151, allocations: 7.984 kB / 0.7027 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.5151, allocations: 12 kB / 0.7027 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.5152, allocations: 15.98 kB / 0.7027 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5152, allocations: 11.98 kB / 0.7027 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001012/0.5153, allocations: 120.2 kB / 0.7028 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5153, allocations: 0 / 0.7028 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003867/0.5157, allocations: 83.94 kB / 0.7029 GB, free: 3.656 MB / 0.5137 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.0007394/0.5165, allocations: 0.8393 MB / 0.7037 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.5173, allocations: 0.6167 MB / 0.7043 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5173, allocations: 3.938 kB / 0.7043 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.5175, allocations: 72.59 kB / 0.7044 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.5179, allocations: 61.64 kB / 0.7045 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.5222, allocations: 2.987 MB / 0.7074 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.5226, allocations: 0.7319 MB / 0.7081 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.263e-05/0.5227, allocations: 25.53 kB / 0.7081 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.5228, allocations: 55.42 kB / 0.7082 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.5228, allocations: 0 / 0.7082 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.552, allocations: 6.35 MB / 0.7144 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.664, allocations: 7.797 kB / 0.7144 GB, free: 7.766 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.309130565961823] Failed to read output from testmodel.py, exit status != 0: 8.735958504024893 8.762585303 8.253391392 Calling exit ...