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.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.001195/0.001195, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.001583/0.001583, allocations: 198 kB / 22.85 MB, free: 5.645 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.448/1.448, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.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.014/1.014, allocations: 149.5 MB / 456.3 MB, free: 1.289 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.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 0.003252/0.003252, allocations: 73.97 kB / 0.6319 GB, free: 9.664 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1717, allocations: 87.87 MB / 0.7177 GB, free: 1.715 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001886/0.1736, allocations: 0.6049 MB / 0.7183 GB, free: 1.113 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001538/0.1751, allocations: 1.124 MB / 0.7194 GB, free: 15.98 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1752, allocations: 3.938 kB / 0.7194 GB, free: 15.97 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.1752, allocations: 0 / 0.7194 GB, free: 15.97 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.1753, allocations: 7.938 kB / 0.7194 GB, free: 15.96 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1758, allocations: 126.6 kB / 0.7196 GB, free: 15.84 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1759, allocations: 91.81 kB / 0.7196 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.176, allocations: 11.98 kB / 0.7197 GB, free: 15.74 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.1761, allocations: 27.98 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1762, allocations: 39.88 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1762, allocations: 11.94 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.1763, allocations: 16 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1763, allocations: 11.98 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.1764, allocations: 31.86 kB / 0.7198 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1766, allocations: 87.72 kB / 0.7199 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1766, allocations: 8 kB / 0.7199 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.1766, allocations: 3.938 kB / 0.7199 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.518e-06/0.1766, allocations: 0 / 0.7199 GB, free: 15.51 MB / 0.545 GB
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.0004635/0.177, allocations: 304 kB / 0.7202 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1771, allocations: 8.625 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.1771, allocations: 38.75 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1772, allocations: 4.938 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1773, allocations: 122.5 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1773, allocations: 8.375 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1774, allocations: 16.36 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1775, allocations: 46.19 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1775, allocations: 3.938 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1775, allocations: 0 / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1775, allocations: 0 / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.1775, allocations: 12 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1779, allocations: 271.9 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.178, allocations: 26.52 kB / 0.7207 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.178, allocations: 12.91 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.178, allocations: 7.938 kB / 0.7207 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.1781, allocations: 47.41 kB / 0.7208 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1781, allocations: 0 / 0.7208 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0001941/0.1783, allocations: 73.56 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1783, allocations: 51.41 kB / 0.7209 GB, free: 14.31 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.1784, allocations: 113.8 kB / 0.721 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1785, allocations: 29.7 kB / 0.721 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1785, allocations: 88.09 kB / 0.7211 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1785, allocations: 7.953 kB / 0.7211 GB, free: 14.06 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1786, allocations: 29.7 kB / 0.7211 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001418/0.1787, allocations: 318.8 kB / 0.7215 GB, free: 13.7 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.1788, allocations: 31.98 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.1789, allocations: 46.56 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.179, allocations: 88.42 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.179, allocations: 0 / 0.7216 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002648/0.1793, allocations: 143.3 kB / 0.7217 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.1793, allocations: 37.69 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1793, allocations: 0 / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1794, allocations: 4.094 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.407e-05/0.1794, allocations: 4 kB / 0.7218 GB, free: 13.31 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1794, allocations: 0 / 0.7218 GB, free: 13.31 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.1796, allocations: 24.28 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1796, allocations: 4 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB
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 0.0001089/0.1797, allocations: 129.7 kB / 0.7219 GB, free: 13.15 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1797, allocations: 7.953 kB / 0.7219 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.1797, allocations: 11.94 kB / 0.722 GB, free: 13.12 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1797, allocations: 8 kB / 0.722 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1797, allocations: 0 / 0.722 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1797, allocations: 0 / 0.722 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1799, allocations: 136.7 kB / 0.7221 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1799, allocations: 0 / 0.7221 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-06/0.1799, allocations: 0 / 0.7221 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1799, allocations: 0 / 0.7221 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1799, allocations: 0 / 0.7221 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1799, allocations: 4 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1799, allocations: 0 / 0.7221 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.18, allocations: 88.98 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.18, allocations: 4 kB / 0.7222 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.18, allocations: 0 / 0.7222 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/0.1801, allocations: 0 / 0.7222 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1801, allocations: 4 kB / 0.7222 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1801, allocations: 7.938 kB / 0.7222 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.57e-05/0.1801, allocations: 83.27 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1801, allocations: 0 / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002305/0.1804, allocations: 27.95 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB
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.0004552/0.1808, allocations: 0.6202 MB / 0.7229 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002118/0.181, allocations: 107.3 kB / 0.723 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.181, allocations: 0 / 0.723 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.1811, allocations: 4.188 kB / 0.723 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.1813, allocations: 19.98 kB / 0.723 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1828, allocations: 1.373 MB / 0.7244 GB, free: 10.44 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1831, allocations: 0.6846 MB / 0.725 GB, free: 9.727 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 1.822e-05/0.1832, allocations: 240 / 0.725 GB, free: 9.727 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.1832, allocations: 15.44 kB / 0.7251 GB, free: 9.711 MB / 0.545 GB
Notification: Performance of SimCode: time 4.9e-07/0.1832, allocations: 0 / 0.7251 GB, free: 9.711 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.2096, allocations: 2.003 MB / 0.727 GB, free: 7.812 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.277, allocations: 6.562 kB / 0.727 GB, free: 7.809 MB / 0.545 GB
"
[Timeout remaining time 652]
(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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 11.903681436990155]
Failed to read output from testmodel.py, exit status != 0:
8.349417799996445 8.369697124 8.188937275
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f36c15c57b0>