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.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.001845/0.001845, allocations: 114.2 kB / 17.84 MB, free: 5.223 MB / 14.72 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.002106/0.002106, allocations: 203.1 kB / 20.79 MB, free: 2.281 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 1.014/1.014, allocations: 150 MB / 460.2 MB, free: 5.281 MB / 350.1 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.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.3 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 89.13 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002106/0.1756, allocations: 0.66 MB / 0.7245 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1767, allocations: 0.8727 MB / 0.7253 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.1768, allocations: 0 / 0.7253 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.1769, allocations: 3.938 kB / 0.7253 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.177, allocations: 4 kB / 0.7253 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.1771, allocations: 23.92 kB / 0.7254 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1773, allocations: 75.81 kB / 0.7254 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1774, allocations: 35.91 kB / 0.7255 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.1775, allocations: 43.83 kB / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1776, allocations: 35.84 kB / 0.7255 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.1776, allocations: 8 kB / 0.7255 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.1777, allocations: 4 kB / 0.7256 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.1777, allocations: 35.95 kB / 0.7256 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.1778, allocations: 31.8 kB / 0.7256 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.178, allocations: 91.62 kB / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.178, allocations: 0 / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.374e-06/0.178, allocations: 0 / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.178, allocations: 3.938 kB / 0.7257 GB, free: 2.125 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007996/0.1788, allocations: 399.2 kB / 0.7261 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1788, allocations: 12.03 kB / 0.7261 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.1788, allocations: 4.188 kB / 0.7261 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.1789, allocations: 42.73 kB / 0.7261 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1789, allocations: 12.84 kB / 0.7262 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1792, allocations: 184.3 kB / 0.7263 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.1792, allocations: 4.375 kB / 0.7263 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1792, allocations: 8.375 kB / 0.7263 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.1797, allocations: 167.5 kB / 0.7265 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1797, allocations: 0 / 0.7265 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1797, allocations: 4 kB / 0.7265 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1797, allocations: 0 / 0.7265 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1802, allocations: 151.8 kB / 0.7267 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.1808, allocations: 452.7 kB / 0.7271 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1811, allocations: 117 kB / 0.7272 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.1814, allocations: 73.7 kB / 0.7273 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1814, allocations: 7.984 kB / 0.7273 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1814, allocations: 30.56 kB / 0.7273 GB, free: 296 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.1814, allocations: 0 / 0.7273 GB, free: 296 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0008473/0.1823, allocations: 233.5 kB / 0.7275 GB, free: 56 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.1823, allocations: 81.05 kB / 0.7276 GB, free: 15.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1825, allocations: 125.8 kB / 0.7277 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1825, allocations: 29.64 kB / 0.7278 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1826, allocations: 96.03 kB / 0.7278 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1826, allocations: 19.89 kB / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.1827, allocations: 21.88 kB / 0.7279 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1828, allocations: 318.8 kB / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.183, allocations: 60.3 kB / 0.7282 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1832, allocations: 77.62 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.1836, allocations: 129.6 kB / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1836, allocations: 0 / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004773/0.1841, allocations: 169.4 kB / 0.7286 GB, free: 14.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1841, allocations: 4 kB / 0.7286 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1841, allocations: 4 kB / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1842, allocations: 0 / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1843, allocations: 23.91 kB / 0.7286 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1844, allocations: 4 kB / 0.7286 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1845, allocations: 19.97 kB / 0.7287 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1845, allocations: 0 / 0.7287 GB, free: 14.82 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.000119/0.1846, allocations: 129.9 kB / 0.7288 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.1846, allocations: 11.89 kB / 0.7288 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.1847, allocations: 11.53 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1847, allocations: 11.88 kB / 0.7288 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.1847, allocations: 3.984 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1847, allocations: 0 / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.185, allocations: 201.7 kB / 0.729 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.185, allocations: 0 / 0.729 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1851, allocations: 19.97 kB / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1851, allocations: 4 kB / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1851, allocations: 4 kB / 0.729 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1851, allocations: 3.938 kB / 0.729 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1851, allocations: 0 / 0.729 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.1857, allocations: 334.6 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1858, allocations: 85.05 kB / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1858, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.186, allocations: 23.91 kB / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.1861, allocations: 23.97 kB / 0.7295 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1861, allocations: 0 / 0.7295 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.1861, allocations: 99.25 kB / 0.7296 GB, free: 13.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1861, allocations: 0 / 0.7296 GB, free: 13.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002783/0.1864, allocations: 19.95 kB / 0.7296 GB, free: 13.76 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.0009324/0.1873, allocations: 0.8678 MB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.1879, allocations: 132.1 kB / 0.7306 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1879, allocations: 0 / 0.7306 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.1881, allocations: 92.02 kB / 0.7307 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1885, allocations: 21.83 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.191, allocations: 1.679 MB / 0.7323 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1914, allocations: 0.7041 MB / 0.733 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1915, allocations: 24.22 kB / 0.733 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.1916, allocations: 23.42 kB / 0.7331 GB, free: 10.08 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.1916, allocations: 0 / 0.7331 GB, free: 10.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.2111, allocations: 2.452 MB / 0.7355 GB, free: 7.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.577, allocations: 29.67 kB / 0.7355 GB, free: 7.777 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.710002959007397] Failed to read output from testmodel.py, exit status != 0: 8.703968427027576 8.728212794 8.545781849 Calling exit ...