Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.00159/0.00159, allocations: 109 kB / 20.45 MB, free: 1.52 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.001589/0.001589, allocations: 209.8 kB / 23.75 MB, free: 4.746 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.961/0.961, allocations: 150 MB / 463.9 MB, free: 10.53 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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [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.002083/0.002083, allocations: 66.91 kB / 0.6425 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1991, allocations: 89.17 MB / 0.7296 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.006135/0.2053, allocations: 3.981 MB / 0.7334 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2084, allocations: 1.827 MB / 0.7352 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2086, allocations: 7.938 kB / 0.7352 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.2101, allocations: 0.5134 MB / 0.7357 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.2106, allocations: 226.8 kB / 0.736 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.2112, allocations: 215.5 kB / 0.7362 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000622/0.2118, allocations: 478.4 kB / 0.7366 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000569/0.2124, allocations: 293.4 kB / 0.7369 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.2127, allocations: 203.3 kB / 0.7371 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.2132, allocations: 239 kB / 0.7373 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.2132, allocations: 28 kB / 0.7373 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.2137, allocations: 247.4 kB / 0.7376 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.2139, allocations: 131.6 kB / 0.7377 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.214, allocations: 171.2 kB / 0.7379 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.2147, allocations: 0.5059 MB / 0.7384 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2147, allocations: 0 / 0.7384 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2147, allocations: 0 / 0.7384 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2147, allocations: 0 / 0.7384 GB, free: 7.738 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001053/0.2158, allocations: 0.5635 MB / 0.7389 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2158, allocations: 16.03 kB / 0.7389 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.2168, allocations: 132.6 kB / 0.7391 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2172, allocations: 237.9 kB / 0.7393 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.2172, allocations: 25.03 kB / 0.7393 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.2173, allocations: 28.38 kB / 0.7393 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.218, allocations: 463.7 kB / 0.7398 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.218, allocations: 4 kB / 0.7398 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.2181, allocations: 12 kB / 0.7398 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.2181, allocations: 32.64 kB / 0.7398 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.2186, allocations: 318.3 kB / 0.7401 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.2211, allocations: 2.147 MB / 0.7422 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.2215, allocations: 162.7 kB / 0.7424 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.2217, allocations: 100.8 kB / 0.7425 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.2217, allocations: 0 / 0.7425 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.2217, allocations: 38.56 kB / 0.7425 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.2217, allocations: 0 / 0.7425 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005877/0.2223, allocations: 214.3 kB / 0.7427 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.2224, allocations: 59.41 kB / 0.7428 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2227, allocations: 269.8 kB / 0.743 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2227, allocations: 29.7 kB / 0.7431 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.2229, allocations: 204.3 kB / 0.7432 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.2229, allocations: 51.59 kB / 0.7433 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.223, allocations: 53.89 kB / 0.7434 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2232, allocations: 334.8 kB / 0.7437 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2233, allocations: 52.44 kB / 0.7437 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.2234, allocations: 156.2 kB / 0.7439 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.2238, allocations: 229.3 kB / 0.7441 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2238, allocations: 96 / 0.7441 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004513/0.2242, allocations: 266.3 kB / 0.7443 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2242, allocations: 8 kB / 0.7443 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2243, allocations: 4 kB / 0.7444 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.2244, allocations: 28.83 kB / 0.7444 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.2246, allocations: 47.92 kB / 0.7444 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.2259, allocations: 1.33 MB / 0.7457 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2261, allocations: 31.77 kB / 0.7458 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2261, allocations: 8 kB / 0.7458 GB, free: 15.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.2263, allocations: 177.8 kB / 0.7459 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.2264, allocations: 23.86 kB / 0.746 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.2264, allocations: 25.78 kB / 0.746 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2264, allocations: 0 / 0.746 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2264, allocations: 7.984 kB / 0.746 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2264, allocations: 0 / 0.746 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.2274, allocations: 0.6626 MB / 0.7466 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2274, allocations: 4 kB / 0.7466 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.2275, allocations: 27.92 kB / 0.7467 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.2276, allocations: 28.97 kB / 0.7467 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2277, allocations: 4 kB / 0.7467 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.2288, allocations: 1.315 MB / 0.748 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2288, allocations: 4.031 kB / 0.748 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.2292, allocations: 313.3 kB / 0.7483 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.2293, allocations: 43.77 kB / 0.7483 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2293, allocations: 4 kB / 0.7483 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2295, allocations: 8 kB / 0.7483 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.2295, allocations: 23.86 kB / 0.7484 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2295, allocations: 11.98 kB / 0.7484 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002049/0.2297, allocations: 185.2 kB / 0.7485 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2297, allocations: 0 / 0.7485 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004046/0.2301, allocations: 75.84 kB / 0.7486 GB, free: 12.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.2303, allocations: 103.2 kB / 0.7487 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.2308, allocations: 269.8 kB / 0.749 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2308, allocations: 0 / 0.749 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.231, allocations: 183.7 kB / 0.7492 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.2315, allocations: 76.86 kB / 0.7492 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/0.2325, allocations: 0.5844 MB / 0.7498 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.233, allocations: 0.7909 MB / 0.7506 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.233, allocations: 27.44 kB / 0.7506 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.233, allocations: 0 / 0.7506 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.007197/0.2402, allocations: 4.411 MB / 0.7549 GB, free: 5.883 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.225076823029667] Failed to read output from testmodel.py, exit status != 0: 0.24926726496778429 0.5320418410000001 0.3145482 Calling exit ...