Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.000807/0.000807, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008312/0.0008312, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9134/0.9134, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5915/0.5915, allocations: 114 MB / 373.9 MB, free: 8.715 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.BooleanVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/3.035e-05, allocations: 4.031 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001526/0.001557, allocations: 0.61 MB / 0.5548 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.003084, allocations: 1.131 MB / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.003166, allocations: 0 / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.003311, allocations: 11.92 kB / 0.5559 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.003456, allocations: 7.938 kB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.003971, allocations: 126.2 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.004229, allocations: 183.7 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.004387, allocations: 15.98 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004515, allocations: 107.9 kB / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.004695, allocations: 83.66 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.004729, allocations: 12 kB / 0.5564 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.004814, allocations: 32 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.004882, allocations: 19.97 kB / 0.5565 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.004963, allocations: 55.89 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.005235, allocations: 239.4 kB / 0.5567 GB, free: 172 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005239, allocations: 4 kB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/0.005241, allocations: 0 / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.005247, allocations: 0 / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006365/0.005883, allocations: 379.9 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.005938, allocations: 8.625 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.00598, allocations: 42.69 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.006033, allocations: 12.89 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.006277, allocations: 165.6 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.006297, allocations: 16.38 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.006322, allocations: 8.375 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.006505, allocations: 103.9 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006515, allocations: 192 / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.006529, allocations: 4.359 kB / 0.5574 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.006538, allocations: 4.125 kB / 0.5575 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/0.006595, allocations: 39.97 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.007106, allocations: 431.9 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.007194, allocations: 73.12 kB / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.007232, allocations: 25.77 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.007241, allocations: 0 / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.007412, allocations: 113 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.007413, allocations: 0 / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.000293/0.007707, allocations: 133.9 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.007766, allocations: 81.11 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007874, allocations: 141.7 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.007901, allocations: 29.7 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.007987, allocations: 104.1 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.008002, allocations: 15.94 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.008078, allocations: 53.69 kB / 0.5586 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.00823, allocations: 318.8 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.008452, allocations: 195.3 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.008638, allocations: 228.4 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.008832, allocations: 224.4 kB / 0.5596 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.008836, allocations: 0 / 0.5596 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000451/0.009287, allocations: 456 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.009339, allocations: 71.39 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.009346, allocations: 3.938 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.009364, allocations: 4 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.009388, allocations: 0 / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.009395, allocations: 4 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.009643, allocations: 68.05 kB / 0.5601 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.009669, allocations: 16 kB / 0.5602 GB, free: 12.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001203/0.009789, allocations: 141.7 kB / 0.5603 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.009805, allocations: 7.953 kB / 0.5603 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.009836, allocations: 11.94 kB / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.00984, allocations: 4 kB / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.009847, allocations: 0 / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.009852, allocations: 0 / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.009977, allocations: 156.7 kB / 0.5605 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.00998, allocations: 3.984 kB / 0.5605 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-06/0.009986, allocations: 12 kB / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009989, allocations: 4 kB / 0.5605 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.009997, allocations: 0 / 0.5605 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009998, allocations: 0 / 0.5605 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01, allocations: 0 / 0.5605 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.01014, allocations: 137.8 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.01015, allocations: 0 / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01016, allocations: 7.938 kB / 0.5606 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.01018, allocations: 4 kB / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.01021, allocations: 7.984 kB / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.01022, allocations: 4 kB / 0.5606 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.01027, allocations: 99.27 kB / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001987/0.01047, allocations: 43.94 kB / 0.5608 GB, free: 11.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003925/0.01086, allocations: 0.6679 MB / 0.5614 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.01124, allocations: 365.9 kB / 0.5618 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.01124, allocations: 0 / 0.5618 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.01129, allocations: 35.97 kB / 0.5618 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01149, allocations: 19.39 kB / 0.5618 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.01349, allocations: 2.448 MB / 0.5642 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.688e-05/0.01355, allocations: 83.31 kB / 0.5643 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.01358, allocations: 11.98 kB / 0.5643 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.01363, allocations: 20.5 kB / 0.5643 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/0.01363, allocations: 4 kB / 0.5643 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.03378, allocations: 4.339 MB / 0.5686 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.926, allocations: 9.984 kB / 0.5686 GB, free: 3.559 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.498646170832217] Failed to read output from testmodel.py, exit status != 0: 7.00778441131115 7.017964936 7.010117262 Calling exit ...