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.001761/0.001761, 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.002081/0.002081, allocations: 221.6 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.514/1.514, allocations: 230.6 MB / 256.7 MB, free: 7.816 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.9974/0.9974, allocations: 149.9 MB / 463 MB, free: 10.41 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [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.00287/0.00287, allocations: 76.02 kB / 0.6415 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2054, allocations: 89.17 MB / 0.7286 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00333/0.2088, allocations: 0.6426 MB / 0.7293 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2102, allocations: 0.8511 MB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.2102, allocations: 0 / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2104, allocations: 7.922 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.2104, allocations: 3.938 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2106, allocations: 15.98 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.2107, allocations: 35.86 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2108, allocations: 11.92 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.2109, allocations: 15.98 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.211, allocations: 11.92 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.211, allocations: 11.94 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.211, allocations: 4 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.2111, allocations: 15.92 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.2112, allocations: 11.92 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2114, allocations: 35.83 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.2114, allocations: 3.984 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.108e-06/0.2114, allocations: 0 / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.2114, allocations: 4 kB / 0.7303 GB, free: 14.86 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.0007586/0.2122, allocations: 274.3 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.2122, allocations: 8.031 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.2123, allocations: 12.89 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.2125, allocations: 114.5 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.2126, allocations: 384 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.2126, allocations: 4.375 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.2129, allocations: 62.22 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.213, allocations: 4.188 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.213, allocations: 3.938 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.213, allocations: 0 / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.2132, allocations: 51.89 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.2139, allocations: 220.4 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.2141, allocations: 42.55 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.2142, allocations: 24.84 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2142, allocations: 4 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.2142, allocations: 38.48 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2143, allocations: 0 / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004035/0.2147, allocations: 89.64 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.2147, allocations: 51.41 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.2148, allocations: 101.8 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2148, allocations: 29.7 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.2149, allocations: 88.09 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2149, allocations: 3.953 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.2149, allocations: 25.7 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2151, allocations: 318.8 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.2152, allocations: 20.11 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.2152, allocations: 19.97 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2154, allocations: 44.77 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2154, allocations: 0 / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.2156, allocations: 65.75 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2156, allocations: 12 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2156, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2156, allocations: 3.984 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.2157, allocations: 7.938 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2157, allocations: 3.938 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.2158, allocations: 7.984 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2158, allocations: 7.984 kB / 0.732 GB, free: 12.95 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.0001679/0.216, allocations: 113.8 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.216, allocations: 11.94 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.216, allocations: 7.312 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.216, allocations: 0 / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.216, allocations: 256 / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.216, allocations: 3.938 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2162, allocations: 121.2 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2162, allocations: 0 / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.2163, allocations: 11.98 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2163, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.2163, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2163, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2163, allocations: 4 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2165, allocations: 167.5 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.2165, allocations: 7.922 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2166, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.2166, allocations: 7.984 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.2167, allocations: 7.984 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2167, allocations: 0 / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.2167, allocations: 83.28 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2167, allocations: 4.031 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002167/0.217, allocations: 8 kB / 0.7325 GB, free: 12.34 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.0001256/0.2171, allocations: 99.22 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.2173, allocations: 39.97 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2173, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.2174, allocations: 19.97 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2177, allocations: 18.3 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.218, allocations: 129.4 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.2181, allocations: 63.34 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.2181, allocations: 4 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.2182, allocations: 11.44 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.2182, allocations: 0 / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.003347/0.2215, allocations: 0.6465 MB / 0.7335 GB, free: 11.28 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.980092380195856] Failed to read output from testmodel.py, exit status != 0: 0.2314549796283245 0.244823842 0.030104435000000002 Calling exit ...