Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001407/0.001407, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001569/0.001569, allocations: 215.9 kB / 23 MB, free: 4.969 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 / 256.8 MB, free: 7.805 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.9832/0.9832, allocations: 149.9 MB / 463 MB, free: 10.35 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: translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [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.002177/0.002177, allocations: 63.91 kB / 0.6415 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2013, allocations: 89.17 MB / 0.7286 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001896/0.2032, allocations: 0.6309 MB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2042, allocations: 0.816 MB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.2042, allocations: 0 / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2043, allocations: 3.938 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.309e-05/0.2044, allocations: 4 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.2045, allocations: 11.98 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.2046, allocations: 27.92 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2047, allocations: 7.984 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.2047, allocations: 11.94 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.2048, allocations: 3.984 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2048, allocations: 4 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.2048, allocations: 0 / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.2048, allocations: 15.92 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.2049, allocations: 11.94 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.205, allocations: 35.75 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.205, allocations: 8 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.205, allocations: 0 / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.205, allocations: 0 / 0.7302 GB, free: 14.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004916/0.2055, allocations: 266.3 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2055, allocations: 8.031 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.2056, allocations: 8.891 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2057, allocations: 110.5 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2057, allocations: 4.375 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2058, allocations: 4.375 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.206, allocations: 62.23 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.206, allocations: 192 / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.206, allocations: 3.938 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.206, allocations: 0 / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.2061, allocations: 39.91 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.2065, allocations: 212.6 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2066, allocations: 38.48 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.2067, allocations: 24.91 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2067, allocations: 0 / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2068, allocations: 38.5 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2068, allocations: 0 / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0003232/0.2071, allocations: 73.64 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.2071, allocations: 51.41 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.2072, allocations: 102 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2072, allocations: 29.7 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.2073, allocations: 92.08 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.2073, allocations: 3.953 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.2073, allocations: 13.72 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2075, allocations: 318.8 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.2076, allocations: 15.97 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.2076, allocations: 15.92 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2078, allocations: 40.89 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2078, allocations: 3.938 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00018/0.208, allocations: 61.66 kB / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.208, allocations: 6.656 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.208, allocations: 0 / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.208, allocations: 0 / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.2081, allocations: 11.98 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2081, allocations: 4.031 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.2081, allocations: 4 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.2081, allocations: 0 / 0.7318 GB, free: 13.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.312e-05/0.2082, allocations: 117.8 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.2082, allocations: 4 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.2082, allocations: 7.094 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2083, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2083, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2083, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2084, allocations: 113.2 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2084, allocations: 4 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.2084, allocations: 8.234 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2084, allocations: 3.984 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2085, allocations: 4 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.2085, allocations: 0 / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2085, allocations: 0 / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.2087, allocations: 163.4 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.2087, allocations: 3.938 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2087, allocations: 8.031 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.2088, allocations: 7.984 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.2088, allocations: 4 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.2088, allocations: 0 / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.606e-05/0.2089, allocations: 79.28 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2089, allocations: 3.938 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002263/0.2091, allocations: 4 kB / 0.7323 GB, free: 12.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001138/0.2092, allocations: 97.86 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.2094, allocations: 39.91 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2094, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.2095, allocations: 19.98 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2098, allocations: 7.875 kB / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.2101, allocations: 113.5 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.2102, allocations: 63.34 kB / 0.7326 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.2102, allocations: 8.062 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.2102, allocations: 7.438 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2102, allocations: 0 / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.002777/0.213, allocations: 447.6 kB / 0.7331 GB, free: 11.69 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.060490310192108] Failed to read output from testmodel.py, exit status != 0: 0.22143862023949623 0.23670204800000003 0.028579756 Calling exit ...