Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001853/0.001853, allocations: 105 kB / 20.48 MB, free: 1.488 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.002583/0.002583, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.501/1.501, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9928/0.9928, allocations: 150 MB / 464 MB, free: 10.48 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.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.001982/0.001982, allocations: 66.91 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 89.17 MB / 0.7291 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001959/0.198, allocations: 0.6623 MB / 0.7298 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1992, allocations: 0.8549 MB / 0.7306 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.1992, allocations: 0 / 0.7306 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.823e-05/0.1993, allocations: 7.922 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.358e-05/0.1993, allocations: 3.938 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1995, allocations: 19.98 kB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.138e-05/0.1996, allocations: 35.91 kB / 0.7307 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1997, allocations: 11.94 kB / 0.7307 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.1997, allocations: 15.92 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.1998, allocations: 15.92 kB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1998, allocations: 4 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.1998, allocations: 4 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.1999, allocations: 11.98 kB / 0.7307 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.1999, allocations: 19.8 kB / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.2, allocations: 31.89 kB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2, allocations: 4 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2, allocations: 4 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2, allocations: 3.938 kB / 0.7308 GB, free: 15.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004725/0.2005, allocations: 278.3 kB / 0.731 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2005, allocations: 8.031 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.122e-05/0.2006, allocations: 4.188 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.2006, allocations: 30.75 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.2006, allocations: 8.891 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2008, allocations: 114.5 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2008, allocations: 4.375 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2008, allocations: 8.375 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.201, allocations: 69.89 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.201, allocations: 0 / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.201, allocations: 4 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.201, allocations: 4 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.2012, allocations: 35.95 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.2016, allocations: 255.8 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.2018, allocations: 46.48 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.2018, allocations: 20.91 kB / 0.7316 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2019, allocations: 7.938 kB / 0.7316 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.2019, allocations: 38.56 kB / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2019, allocations: 0 / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004127/0.2023, allocations: 85.58 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2024, allocations: 55.39 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.2025, allocations: 105.9 kB / 0.7319 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2025, allocations: 25.7 kB / 0.7319 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.2025, allocations: 96.2 kB / 0.732 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.2026, allocations: 3.953 kB / 0.732 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2026, allocations: 17.72 kB / 0.732 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2027, allocations: 314.8 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.2028, allocations: 23.97 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.2029, allocations: 11.98 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2031, allocations: 48.88 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2031, allocations: 0 / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002243/0.2033, allocations: 73.59 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2033, allocations: 4 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2033, allocations: 256 / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2033, allocations: 0 / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2035, allocations: 16.02 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2035, allocations: 4 kB / 0.7325 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.2035, allocations: 7.984 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.2035, allocations: 0 / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001632/0.2037, allocations: 117.8 kB / 0.7326 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2037, allocations: 3.953 kB / 0.7326 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.2037, allocations: 11.25 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2037, allocations: 4 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2037, allocations: 3.938 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2037, allocations: 4 kB / 0.7327 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2039, allocations: 136.7 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2039, allocations: 0 / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.204, allocations: 11.98 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.204, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.204, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.204, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.204, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2043, allocations: 179.4 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.2043, allocations: 4 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2043, allocations: 0 / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.2044, allocations: 11.98 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.2044, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2044, allocations: 4 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.2045, allocations: 87.27 kB / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2045, allocations: 4.031 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002393/0.2047, allocations: 7.938 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006136/0.2053, allocations: 0.7007 MB / 0.7338 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2056, allocations: 43.98 kB / 0.7338 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2056, allocations: 0 / 0.7338 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.2057, allocations: 23.97 kB / 0.7338 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2059, allocations: 4 kB / 0.7338 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2075, allocations: 1.261 MB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.2079, allocations: 0.6806 MB / 0.7357 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.2079, allocations: 4 kB / 0.7357 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.208, allocations: 15.44 kB / 0.7358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.208, allocations: 0 / 0.7358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.2302, allocations: 1.662 MB / 0.7374 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.43, allocations: 11.92 kB / 0.7374 GB, free: 8.566 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.354584591055755] Failed to read output from testmodel.py, exit status != 0: 11.58785935799824 11.606246965 11.40283533 Calling exit ...