Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001454/0.001454, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001988/0.001988, allocations: 224.5 kB / 23.01 MB, free: 5.043 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 8 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.9853/0.9853, allocations: 150 MB / 463.1 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] 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.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [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.002335/0.002335, allocations: 68.33 kB / 0.6417 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2337, allocations: 89.18 MB / 0.7288 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006376/0.24, allocations: 3.855 MB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003491/0.2435, allocations: 1.878 MB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.2438, allocations: 23.81 kB / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00098/0.2448, allocations: 278.6 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.2455, allocations: 310.5 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.2462, allocations: 247.4 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.247, allocations: 0.6129 MB / 0.7358 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004797/0.2474, allocations: 242.5 kB / 0.7361 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.2479, allocations: 247.1 kB / 0.7363 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.2483, allocations: 242.9 kB / 0.7365 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.2483, allocations: 28 kB / 0.7366 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.2489, allocations: 283.4 kB / 0.7368 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.2491, allocations: 119.6 kB / 0.7369 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.2493, allocations: 218.8 kB / 0.7372 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.2501, allocations: 0.5913 MB / 0.7377 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2501, allocations: 0 / 0.7377 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2501, allocations: 0 / 0.7377 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.2502, allocations: 0 / 0.7377 GB, free: 7.605 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001411/0.2516, allocations: 0.6681 MB / 0.7384 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.2516, allocations: 16.03 kB / 0.7384 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00091/0.2525, allocations: 136.5 kB / 0.7385 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.2532, allocations: 345.3 kB / 0.7389 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.2532, allocations: 25.02 kB / 0.7389 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.2533, allocations: 28.38 kB / 0.7389 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008944/0.2542, allocations: 0.5555 MB / 0.7395 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.2542, allocations: 15.89 kB / 0.7395 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2542, allocations: 15.98 kB / 0.7395 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.2543, allocations: 40.62 kB / 0.7395 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.255, allocations: 410.1 kB / 0.7399 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.2582, allocations: 3.267 MB / 0.7431 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.2589, allocations: 310.4 kB / 0.7434 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2592, allocations: 156.8 kB / 0.7435 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2593, allocations: 4 kB / 0.7436 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2593, allocations: 34.56 kB / 0.7436 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 2.104e-06/0.2593, allocations: 4 kB / 0.7436 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002052/0.2614, allocations: 0.8399 MB / 0.7444 GB, free: 372 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2614, allocations: 55.64 kB / 0.7445 GB, free: 304 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.2618, allocations: 345.6 kB / 0.7448 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.2618, allocations: 29.7 kB / 0.7448 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.262, allocations: 252.1 kB / 0.7451 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/0.2621, allocations: 103.1 kB / 0.7452 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2622, allocations: 74.09 kB / 0.7452 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.2624, allocations: 350.8 kB / 0.7456 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2627, allocations: 148.8 kB / 0.7457 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.2631, allocations: 298.5 kB / 0.746 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.2639, allocations: 479.7 kB / 0.7464 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2639, allocations: 0 / 0.7464 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001031/0.2649, allocations: 0.567 MB / 0.747 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2649, allocations: 4 kB / 0.747 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.2649, allocations: 11.98 kB / 0.747 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.2653, allocations: 83.08 kB / 0.7471 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.2656, allocations: 91.81 kB / 0.7472 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.2656, allocations: 15.92 kB / 0.7472 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.2659, allocations: 35.91 kB / 0.7472 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2659, allocations: 12 kB / 0.7472 GB, free: 13.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.2662, allocations: 185.6 kB / 0.7474 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.2662, allocations: 47.72 kB / 0.7475 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009905/0.2672, allocations: 464.3 kB / 0.7479 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2672, allocations: 4 kB / 0.7479 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.2673, allocations: 0 / 0.7479 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.2673, allocations: 3.984 kB / 0.7479 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.2689, allocations: 0.9294 MB / 0.7488 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2689, allocations: 0 / 0.7488 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.2692, allocations: 51.89 kB / 0.7489 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.2694, allocations: 86.61 kB / 0.749 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2694, allocations: 4 kB / 0.749 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2694, allocations: 7.984 kB / 0.749 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2694, allocations: 0 / 0.749 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/0.2703, allocations: 0.543 MB / 0.7495 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.2705, allocations: 63.73 kB / 0.7496 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.2705, allocations: 7.984 kB / 0.7496 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2707, allocations: 19.98 kB / 0.7496 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.2708, allocations: 27.89 kB / 0.7496 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2708, allocations: 4 kB / 0.7496 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002504/0.2711, allocations: 247.2 kB / 0.7499 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2711, allocations: 0 / 0.7499 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004285/0.2715, allocations: 87.94 kB / 0.7499 GB, free: 10.37 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.2717, allocations: 104 kB / 0.75 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000848/0.2725, allocations: 390.1 kB / 0.7504 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2725, allocations: 0 / 0.7504 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.2729, allocations: 203.6 kB / 0.7506 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000712/0.2736, allocations: 129.8 kB / 0.7507 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2748, allocations: 0.7458 MB / 0.7515 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.2753, allocations: 0.8234 MB / 0.7523 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.2755, allocations: 87.33 kB / 0.7523 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.2756, allocations: 27.44 kB / 0.7524 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2756, allocations: 0 / 0.7524 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of Templates: time 0.01071/0.2863, allocations: 4.959 MB / 0.7572 GB, free: 2.926 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.860655943863094] Failed to read output from testmodel.py, exit status != 0: 0.2967585870064795 0.7411384010000001 0.487974516 Calling exit ...