Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0008211/0.0008211, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009607/0.0009607, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.916/0.916, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5942/0.5942, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.557e-06/3.557e-06, allocations: 0 / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.869e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002057/0.002086, allocations: 0.6051 MB / 0.5548 GB, free: 1.098 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.004218, allocations: 1.135 MB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.00428, allocations: 0 / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.004403, allocations: 7.922 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.004436, allocations: 7.938 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.004996, allocations: 119.6 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.005185, allocations: 91.81 kB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005292, allocations: 8 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.766e-05/0.005389, allocations: 39.97 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.005522, allocations: 39.88 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.005547, allocations: 8 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.743e-05/0.005624, allocations: 19.98 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.005694, allocations: 4 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.005755, allocations: 31.97 kB / 0.5562 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.005936, allocations: 103.8 kB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.00594, allocations: 0 / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005941, allocations: 0 / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005946, allocations: 0 / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004591/0.006405, allocations: 307.9 kB / 0.5566 GB, free: 15.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.006458, allocations: 16.62 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.006495, allocations: 30.75 kB / 0.5567 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.00654, allocations: 8.938 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.006717, allocations: 129.7 kB / 0.5568 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.006732, allocations: 384 / 0.5568 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.006749, allocations: 8.375 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.006868, allocations: 42.25 kB / 0.5569 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006878, allocations: 192 / 0.5569 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006887, allocations: 4.312 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006894, allocations: 8.109 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.46e-05/0.006929, allocations: 15.98 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.007272, allocations: 260 kB / 0.5571 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.007322, allocations: 22.58 kB / 0.5572 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.00734, allocations: 16.8 kB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.007349, allocations: 0 / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.007518, allocations: 71.31 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.00752, allocations: 0 / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000182/0.007702, allocations: 61.64 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.007742, allocations: 55.41 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.007815, allocations: 105.8 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.007834, allocations: 25.7 kB / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.007879, allocations: 100.1 kB / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.007892, allocations: 7.938 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.00795, allocations: 29.7 kB / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.008045, allocations: 310.8 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.008136, allocations: 65.61 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.00822, allocations: 76.27 kB / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.008313, allocations: 80.27 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.008316, allocations: 3.938 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002231/0.00854, allocations: 184.9 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.008576, allocations: 33.7 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.008582, allocations: 4 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.008596, allocations: 0 / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.768e-05/0.008614, allocations: 3.938 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.00862, allocations: 0 / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.008783, allocations: 28.27 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.008799, allocations: 8 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 8.395e-05/0.008883, allocations: 121.9 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.008894, allocations: 7.953 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.008918, allocations: 7.984 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008922, allocations: 4 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.008927, allocations: 0 / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008931, allocations: 0 / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.009033, allocations: 136.7 kB / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009034, allocations: 0 / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-06/0.009041, allocations: 0 / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009043, allocations: 4 kB / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.00905, allocations: 0 / 0.5586 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.009052, allocations: 4 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.009053, allocations: 3.938 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.009158, allocations: 93.16 kB / 0.5587 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.009168, allocations: 8.031 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.00918, allocations: 0 / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.009196, allocations: 4 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.009226, allocations: 0 / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.009231, allocations: 0 / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.009274, allocations: 91.27 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009274, allocations: 0 / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.009558, allocations: 15.95 kB / 0.5588 GB, free: 12.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0003651/0.009923, allocations: 0.6241 MB / 0.5595 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.01012, allocations: 133.1 kB / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01013, allocations: 0 / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.01015, allocations: 15.92 kB / 0.5596 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.01038, allocations: 12.8 kB / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.01146, allocations: 1.495 MB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.01151, allocations: 67.53 kB / 0.5611 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.174e-05/0.01153, allocations: 0 / 0.5611 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.01156, allocations: 16.5 kB / 0.5611 GB, free: 10.02 MB / 490.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01157, allocations: 0 / 0.5611 GB, free: 10.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.03059, allocations: 2.742 MB / 0.5638 GB, free: 7.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.863, allocations: 8.094 kB / 0.5638 GB, free: 7.461 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.46269152034074] Failed to read output from testmodel.py, exit status != 0: 6.9458630355075 6.959426986 6.950924142 Calling exit ...