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.001309/0.001309, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001415/0.001415, allocations: 213.4 kB / 23.78 MB, free: 4.523 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.538/1.538, allocations: 230.6 MB / 257.6 MB, free: 7.773 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 0.9998/0.9998, allocations: 150 MB / 464 MB, free: 10.25 MB / 366.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.001949/0.001949, allocations: 66.11 kB / 0.642 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1945, allocations: 89.17 MB / 0.729 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00212/0.1966, allocations: 0.6488 MB / 0.7297 GB, free: 172 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1978, allocations: 0.8471 MB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.1979, allocations: 7.938 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.198, allocations: 3.938 kB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1981, allocations: 7.969 kB / 0.7305 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.1982, allocations: 19.92 kB / 0.7305 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1984, allocations: 79.81 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1985, allocations: 19.92 kB / 0.7306 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.1986, allocations: 43.84 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1987, allocations: 43.84 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1987, allocations: 4 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.1988, allocations: 8 kB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1988, allocations: 27.95 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.1989, allocations: 27.86 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.199, allocations: 91.62 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.199, allocations: 0 / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.199, allocations: 0 / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.199, allocations: 0 / 0.7309 GB, free: 14.93 MB / 0.5606 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.0006745/0.1997, allocations: 322.1 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1998, allocations: 12.03 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.759e-05/0.1998, allocations: 192 / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.1998, allocations: 42.69 kB / 0.7312 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.1999, allocations: 8.891 kB / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2001, allocations: 138.4 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.2001, allocations: 8.312 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2001, allocations: 4.375 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.2005, allocations: 166.2 kB / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2006, allocations: 4 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2006, allocations: 0 / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2006, allocations: 4 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.2011, allocations: 155.8 kB / 0.7317 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.2017, allocations: 419.8 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.202, allocations: 121.1 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.2023, allocations: 73.69 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2023, allocations: 4 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2023, allocations: 30.56 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.2023, allocations: 0 / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.000833/0.2032, allocations: 233.4 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2032, allocations: 81.05 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2034, allocations: 125.8 kB / 0.7327 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2034, allocations: 29.7 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.2035, allocations: 92.09 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.2035, allocations: 11.91 kB / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.2036, allocations: 25.95 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2037, allocations: 318.8 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.2039, allocations: 67.86 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.2041, allocations: 77.62 kB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.2045, allocations: 129.6 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2045, allocations: 0 / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000468/0.205, allocations: 161.4 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.205, allocations: 4 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.205, allocations: 3.984 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.205, allocations: 8.062 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.2052, allocations: 27.91 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.2052, allocations: 0 / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2053, allocations: 15.98 kB / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2054, allocations: 4.359 kB / 0.7337 GB, free: 11.83 MB / 0.5606 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.0001165/0.2055, allocations: 127.8 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2055, allocations: 7.953 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.2056, allocations: 7.625 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2056, allocations: 11.88 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2056, allocations: 4 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2056, allocations: 0 / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.2058, allocations: 164.7 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2058, allocations: 3.938 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.206, allocations: 19.97 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.206, allocations: 4 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.206, allocations: 0 / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.206, allocations: 3.938 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.206, allocations: 3.984 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.2065, allocations: 334.6 kB / 0.7343 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.2066, allocations: 3.984 kB / 0.7343 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2066, allocations: 4 kB / 0.7343 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.2068, allocations: 15.92 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.2068, allocations: 31.89 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.2068, allocations: 4 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.2069, allocations: 95.27 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2069, allocations: 0 / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002844/0.2072, allocations: 15.95 kB / 0.7345 GB, free: 10.91 MB / 0.5606 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.0009292/0.2081, allocations: 0.864 MB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.2086, allocations: 143.8 kB / 0.7355 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2086, allocations: 0 / 0.7355 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.2089, allocations: 87.89 kB / 0.7356 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.2093, allocations: 11.94 kB / 0.7356 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2118, allocations: 1.704 MB / 0.7372 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.655e-05/0.2119, allocations: 87.31 kB / 0.7373 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.605e-05/0.2119, allocations: 16.27 kB / 0.7373 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.212, allocations: 27.42 kB / 0.7374 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.212, allocations: 4 kB / 0.7374 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.2372, allocations: 2.615 MB / 0.7399 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.61, allocations: 13.88 kB / 0.7399 GB, free: 5.375 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.655136471032165] Failed to read output from testmodel.py, exit status != 0: 11.768808119930327 11.785991593 11.583523358 Calling exit ...