Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.0013/0.0013, 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.001379/0.001379, allocations: 194.4 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.457/1.457, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.018/1.018, allocations: 149.5 MB / 456.3 MB, free: 1.262 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.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 68.52 kB / 0.6319 GB, free: 9.629 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1879, allocations: 87.87 MB / 0.7177 GB, free: 1.688 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002518/0.1904, allocations: 0.6689 MB / 0.7184 GB, free: 1.02 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001314/0.1917, allocations: 0.8351 MB / 0.7192 GB, free: 176 kB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.1918, allocations: 7.875 kB / 0.7192 GB, free: 168 kB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1919, allocations: 4 kB / 0.7192 GB, free: 164 kB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.192, allocations: 11.92 kB / 0.7192 GB, free: 152 kB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.1921, allocations: 19.92 kB / 0.7192 GB, free: 132 kB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1923, allocations: 75.81 kB / 0.7193 GB, free: 56 kB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1925, allocations: 15.98 kB / 0.7193 GB, free: 40 kB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1926, allocations: 43.89 kB / 0.7194 GB, free: 15.99 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1927, allocations: 39.78 kB / 0.7194 GB, free: 15.96 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1927, allocations: 8 kB / 0.7194 GB, free: 15.95 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.1927, allocations: 4 kB / 0.7194 GB, free: 15.95 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.1928, allocations: 27.97 kB / 0.7194 GB, free: 15.92 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.1928, allocations: 31.81 kB / 0.7195 GB, free: 15.89 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.193, allocations: 91.61 kB / 0.7196 GB, free: 15.8 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.193, allocations: 8 kB / 0.7196 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.193, allocations: 0 / 0.7196 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.312e-06/0.193, allocations: 0 / 0.7196 GB, free: 15.79 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.000707/0.1937, allocations: 327.4 kB / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1938, allocations: 12.62 kB / 0.7199 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.1938, allocations: 30.75 kB / 0.7199 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.1939, allocations: 12.89 kB / 0.7199 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1941, allocations: 142.3 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.1941, allocations: 12.38 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1941, allocations: 4.375 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.1945, allocations: 155.8 kB / 0.7202 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1945, allocations: 3.938 kB / 0.7202 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1946, allocations: 0 / 0.7202 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1946, allocations: 0 / 0.7202 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.195, allocations: 167.7 kB / 0.7204 GB, free: 14.86 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.1957, allocations: 403.9 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.196, allocations: 125 kB / 0.7209 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1962, allocations: 73.7 kB / 0.721 GB, free: 14.2 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1962, allocations: 0 / 0.721 GB, free: 14.2 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1962, allocations: 34.56 kB / 0.721 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1962, allocations: 0 / 0.721 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.000748/0.197, allocations: 229.3 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.197, allocations: 81.36 kB / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1972, allocations: 133.7 kB / 0.7214 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1972, allocations: 25.7 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.1972, allocations: 104 kB / 0.7215 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1973, allocations: 20.03 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1973, allocations: 13.72 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001595/0.1975, allocations: 322.8 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1977, allocations: 59.92 kB / 0.7219 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1979, allocations: 85.56 kB / 0.722 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.1983, allocations: 125.6 kB / 0.7221 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1983, allocations: 4 kB / 0.7221 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004558/0.1987, allocations: 165.4 kB / 0.7223 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1987, allocations: 8 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1987, allocations: 4 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1988, allocations: 0 / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1989, allocations: 28.03 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1989, allocations: 3.938 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1991, allocations: 15.97 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1991, allocations: 8 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * 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.0001132/0.1992, allocations: 121.8 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.1992, allocations: 7.953 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.1993, allocations: 7.625 kB / 0.7225 GB, free: 12.53 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1993, allocations: 4 kB / 0.7225 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1993, allocations: 15.86 kB / 0.7225 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1993, allocations: 0 / 0.7225 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.1995, allocations: 164.7 kB / 0.7227 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1995, allocations: 0 / 0.7227 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.1997, allocations: 27.91 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1997, allocations: 0 / 0.7227 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1997, allocations: 0 / 0.7227 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1997, allocations: 0 / 0.7227 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1997, allocations: 3.938 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.2002, allocations: 334.7 kB / 0.723 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.2002, allocations: 4.094 kB / 0.723 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.2002, allocations: 384 / 0.723 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.2004, allocations: 27.97 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.2005, allocations: 31.88 kB / 0.7231 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2005, allocations: 0 / 0.7231 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.6e-05/0.2006, allocations: 103.1 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2006, allocations: 0 / 0.7232 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002775/0.2009, allocations: 12 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 4
 * 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.0009213/0.2018, allocations: 0.8678 MB / 0.724 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004772/0.2023, allocations: 139.8 kB / 0.7242 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2023, allocations: 0 / 0.7242 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2025, allocations: 87.89 kB / 0.7243 GB, free: 10.64 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2029, allocations: 11.92 kB / 0.7243 GB, free: 10.62 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.2053, allocations: 1.696 MB / 0.7259 GB, free: 8.844 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2056, allocations: 0.7002 MB / 0.7266 GB, free: 8.117 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.307e-05/0.2057, allocations: 23.97 kB / 0.7266 GB, free: 8.094 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.2057, allocations: 19.44 kB / 0.7267 GB, free: 8.078 MB / 0.545 GB
Notification: Performance of SimCode: time 1.112e-06/0.2057, allocations: 0 / 0.7267 GB, free: 8.078 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2306, allocations: 2.429 MB / 0.729 GB, free: 5.742 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.154, allocations: 9.828 kB / 0.729 GB, free: 5.734 MB / 0.545 GB
"
[Timeout remaining time 652]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5]
[Calling sys.exit(0), Time elapsed: 12.003230342001189]
Failed to read output from testmodel.py, exit status != 0:
8.222948106005788 8.239023299 8.042850047
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7faab54957b0>