Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.002061/0.002061, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.002178/0.002178, allocations: 192.1 kB / 22.85 MB, free: 5.664 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.572/1.572, allocations: 225.6 MB / 251.5 MB, free: 13.07 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 0.9651/0.9651, 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.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 72.53 kB / 0.6319 GB, free: 9.617 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 87.87 MB / 0.7177 GB, free: 1.664 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001875/0.1649, allocations: 0.5414 MB / 0.7183 GB, free: 1.129 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 3.765e-05/0.1649, allocations: 4 kB / 0.7183 GB, free: 1.125 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.1649, allocations: 4 kB / 0.7183 GB, free: 1.121 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.165, allocations: 0 / 0.7183 GB, free: 1.121 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 2.761e-05/0.165, allocations: 3.938 kB / 0.7183 GB, free: 1.117 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 2.947e-05/0.165, allocations: 4 kB / 0.7183 GB, free: 1.113 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.1651, allocations: 0 / 0.7183 GB, free: 1.113 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.1651, allocations: 7.984 kB / 0.7183 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.132e-05/0.1651, allocations: 0 / 0.7183 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.1652, allocations: 0 / 0.7183 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1652, allocations: 0 / 0.7183 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.557e-06/0.1652, allocations: 0 / 0.7183 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1652, allocations: 0 / 0.7183 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.1652, allocations: 7.938 kB / 0.7183 GB, free: 1.098 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 5.417e-05/0.1653, allocations: 8 kB / 0.7183 GB, free: 1.09 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1653, allocations: 0 / 0.7183 GB, free: 1.09 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.723e-06/0.1653, allocations: 0 / 0.7183 GB, free: 1.09 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.679e-06/0.1653, allocations: 0 / 0.7183 GB, free: 1.09 MB / 0.5294 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0002696/0.1655, allocations: 234.5 kB / 0.7185 GB, free: 0.8281 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1656, allocations: 8.625 kB / 0.7185 GB, free: 0.8203 MB / 0.5294 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.1656, allocations: 30.75 kB / 0.7186 GB, free: 0.7812 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 1.658e-05/0.1656, allocations: 0.9375 kB / 0.7186 GB, free: 0.7812 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.1657, allocations: 110.5 kB / 0.7187 GB, free: 0.6484 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1657, allocations: 384 / 0.7187 GB, free: 0.6484 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-06/0.1657, allocations: 384 / 0.7187 GB, free: 0.6484 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.1658, allocations: 38.2 kB / 0.7187 GB, free: 0.6055 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1658, allocations: 3.938 kB / 0.7187 GB, free: 0.6016 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.1658, allocations: 0 / 0.7187 GB, free: 0.6016 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.1658, allocations: 0 / 0.7187 GB, free: 0.6016 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.468e-05/0.1659, allocations: 3.984 kB / 0.7187 GB, free: 0.5977 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1662, allocations: 350.6 kB / 0.7191 GB, free: 216 kB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.1663, allocations: 173.5 kB / 0.7192 GB, free: 32 kB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.1663, allocations: 84.17 kB / 0.7193 GB, free: 15.95 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.1663, allocations: 75.28 kB / 0.7194 GB, free: 15.87 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.1664, allocations: 113.9 kB / 0.7195 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1664, allocations: 7.938 kB / 0.7195 GB, free: 15.74 MB / 0.545 GB
Notification: Performance of matching and sorting (n=0): time 7.233e-05/0.1665, allocations: 29.7 kB / 0.7195 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.1665, allocations: 126.7 kB / 0.7196 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.1666, allocations: 93.86 kB / 0.7197 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1667, allocations: 29.64 kB / 0.7198 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.1667, allocations: 80.14 kB / 0.7198 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.1667, allocations: 3.938 kB / 0.7198 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.1667, allocations: 17.84 kB / 0.7199 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001476/0.1669, allocations: 318.8 kB / 0.7202 GB, free: 15 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-06/0.1669, allocations: 0 / 0.7202 GB, free: 15 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-06/0.1669, allocations: 0 / 0.7202 GB, free: 15 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.1669, allocations: 75.28 kB / 0.7202 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.35e-05/0.1669, allocations: 79.22 kB / 0.7203 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.649e-05/0.167, allocations: 29.7 kB / 0.7203 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.167, allocations: 79.28 kB / 0.7204 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/0.1671, allocations: 83.22 kB / 0.7205 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 7.237e-05/0.1672, allocations: 154.6 kB / 0.7206 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.279e-05/0.1672, allocations: 75.28 kB / 0.7207 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.914e-05/0.1673, allocations: 158.5 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.1673, allocations: 83.27 kB / 0.7209 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.1674, allocations: 83.22 kB / 0.721 GB, free: 14.11 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001368/0.1675, allocations: 264.3 kB / 0.7213 GB, free: 13.84 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.1676, allocations: 104.9 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.1676, allocations: 112.1 kB / 0.7215 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.661e-05/0.1677, allocations: 180.2 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-05/0.1678, allocations: 180.3 kB / 0.7218 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.952e-05/0.1679, allocations: 184.2 kB / 0.722 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1681, allocations: 380.2 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/0.1682, allocations: 112.9 kB / 0.7225 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.1682, allocations: 105 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.462e-05/0.1683, allocations: 180.3 kB / 0.7227 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.1684, allocations: 180.2 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.8e-05/0.1685, allocations: 180.6 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.1685, allocations: 184.2 kB / 0.7233 GB, free: 11.67 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1687, allocations: 307.8 kB / 0.7236 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1687, allocations: 108.9 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.1688, allocations: 188.2 kB / 0.7238 GB, free: 11.04 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.1689, allocations: 104.9 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.169, allocations: 184.3 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.169, allocations: 101 kB / 0.7242 GB, free: 10.64 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.643e-05/0.1691, allocations: 75.28 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 0 / 0.7243 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002758/0.1694, allocations: 8.031 kB / 0.7243 GB, free: 10.56 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0004551/0.1698, allocations: 0.8048 MB / 0.7251 GB, free: 9.723 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 4.228e-05/0.1699, allocations: 0 / 0.7251 GB, free: 9.723 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1699, allocations: 0 / 0.7251 GB, free: 9.723 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 3.357e-06/0.1699, allocations: 11.88 kB / 0.7251 GB, free: 9.711 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1702, allocations: 459.7 kB / 0.7255 GB, free: 9.258 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1713, allocations: 1.532 MB / 0.727 GB, free: 7.648 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1716, allocations: 0.6729 MB / 0.7277 GB, free: 6.949 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.374e-06/0.1717, allocations: 0 / 0.7277 GB, free: 6.949 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1717, allocations: 7.531 kB / 0.7277 GB, free: 6.941 MB / 0.545 GB
Notification: Performance of SimCode: time 2.9e-07/0.1717, allocations: 4 kB / 0.7277 GB, free: 6.938 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1947, allocations: 0.9022 MB / 0.7286 GB, free: 6.125 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.123, allocations: 4.938 kB / 0.7286 GB, free: 6.125 MB / 0.545 GB
"
[Timeout remaining time 652]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5]
[Calling sys.exit(0), Time elapsed: 11.931525239997427]
Failed to read output from testmodel.py, exit status != 0:
8.196931005004444 8.225359596 8.05497303
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3f117b57b0>