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.001395/0.001395, allocations: 104.3 kB / 19.7 MB, free: 2.086 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.001487/0.001487, allocations: 215.1 kB / 22.99 MB, free: 4.906 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 1.025/1.025, allocations: 149.9 MB / 463 MB, free: 10.41 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.002118/0.002118, allocations: 66.11 kB / 0.6415 GB, free: 9.703 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2353, allocations: 89.17 MB / 0.7286 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00592/0.2412, allocations: 3.608 MB / 0.7322 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2447, allocations: 1.75 MB / 0.7339 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.2449, allocations: 23.75 kB / 0.7339 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.2459, allocations: 274.6 kB / 0.7341 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000723/0.2466, allocations: 310.5 kB / 0.7344 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.2473, allocations: 250.5 kB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007419/0.248, allocations: 0.609 MB / 0.7353 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.2485, allocations: 234.5 kB / 0.7355 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.249, allocations: 255.1 kB / 0.7357 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.2494, allocations: 231 kB / 0.736 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.2494, allocations: 24 kB / 0.736 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.2499, allocations: 247.5 kB / 0.7362 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.25, allocations: 123.5 kB / 0.7363 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.2502, allocations: 175.1 kB / 0.7365 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007839/0.251, allocations: 0.5914 MB / 0.7371 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.251, allocations: 4 kB / 0.7371 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.251, allocations: 0 / 0.7371 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.251, allocations: 0 / 0.7371 GB, free: 7.906 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.001332/0.2523, allocations: 0.6681 MB / 0.7377 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2524, allocations: 12.03 kB / 0.7378 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/0.2533, allocations: 136.5 kB / 0.7379 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.2539, allocations: 345.3 kB / 0.7382 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2539, allocations: 21.03 kB / 0.7382 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.254, allocations: 32.36 kB / 0.7383 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/0.255, allocations: 0.6303 MB / 0.7389 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.255, allocations: 7.891 kB / 0.7389 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.2551, allocations: 23.98 kB / 0.7389 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.2552, allocations: 40.62 kB / 0.7389 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.2559, allocations: 402.1 kB / 0.7393 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.2592, allocations: 2.687 MB / 0.742 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.26, allocations: 310.5 kB / 0.7422 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.2603, allocations: 164.8 kB / 0.7424 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2603, allocations: 4 kB / 0.7424 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.2604, allocations: 34.56 kB / 0.7424 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/0.2604, allocations: 3.938 kB / 0.7424 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002219/0.2626, allocations: 0.8414 MB / 0.7433 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2626, allocations: 55.64 kB / 0.7433 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.2631, allocations: 325.5 kB / 0.7436 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2631, allocations: 29.7 kB / 0.7437 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2633, allocations: 260 kB / 0.7439 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2634, allocations: 99.11 kB / 0.744 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2636, allocations: 82.08 kB / 0.7441 GB, free: 416 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.2638, allocations: 346.8 kB / 0.7444 GB, free: 60 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.2641, allocations: 148.8 kB / 0.7446 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.2645, allocations: 295.8 kB / 0.7448 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.2653, allocations: 486.5 kB / 0.7453 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2653, allocations: 0 / 0.7453 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001003/0.2663, allocations: 0.5659 MB / 0.7459 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2663, allocations: 8 kB / 0.7459 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.2663, allocations: 4 kB / 0.7459 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.2666, allocations: 90.5 kB / 0.746 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.267, allocations: 87.81 kB / 0.746 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.267, allocations: 8 kB / 0.746 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.2673, allocations: 32.28 kB / 0.7461 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.2673, allocations: 27.92 kB / 0.7461 GB, free: 14.18 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.0002183/0.2675, allocations: 169.6 kB / 0.7463 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.2676, allocations: 43.75 kB / 0.7463 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009536/0.2686, allocations: 468.2 kB / 0.7467 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2686, allocations: 0 / 0.7467 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2686, allocations: 8 kB / 0.7468 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2686, allocations: 0 / 0.7468 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2701, allocations: 0.8411 MB / 0.7476 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2701, allocations: 3.938 kB / 0.7476 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.2703, allocations: 51.95 kB / 0.7476 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.2705, allocations: 82.45 kB / 0.7477 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2706, allocations: 8.094 kB / 0.7477 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2706, allocations: 7.938 kB / 0.7477 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2706, allocations: 0 / 0.7477 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.2714, allocations: 0.543 MB / 0.7483 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2716, allocations: 59.73 kB / 0.7483 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.2716, allocations: 8 kB / 0.7483 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.2719, allocations: 19.97 kB / 0.7483 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.2719, allocations: 23.89 kB / 0.7484 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.272, allocations: 16 kB / 0.7484 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002459/0.2722, allocations: 223.2 kB / 0.7486 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2722, allocations: 0 / 0.7486 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000425/0.2726, allocations: 91.88 kB / 0.7487 GB, free: 11.42 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.00016/0.2728, allocations: 103.2 kB / 0.7488 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008907/0.2737, allocations: 390.2 kB / 0.7491 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2737, allocations: 0 / 0.7491 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.2741, allocations: 195.6 kB / 0.7493 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.2749, allocations: 120.2 kB / 0.7495 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2763, allocations: 0.7424 MB / 0.7502 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2766, allocations: 216.1 kB / 0.7504 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.2768, allocations: 79.28 kB / 0.7505 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.13e-05/0.2769, allocations: 27.44 kB / 0.7505 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.2769, allocations: 0 / 0.7505 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.01156/0.2885, allocations: 5.293 MB / 0.7557 GB, free: 4.352 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.721029106527567] Failed to read output from testmodel.py, exit status != 0: 0.29781596176326275 0.657055963 0.40033142899999996 Calling exit ...