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.002047/0.002047, allocations: 75.59 kB / 20.51 MB, free: 1.281 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.001605/0.001605, allocations: 168.9 kB / 23.77 MB, free: 4.461 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.544/1.544, allocations: 177.2 MB / 204.1 MB, free: 8.953 MB / 190.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.9304/0.9304, allocations: 113.9 MB / 374.5 MB, free: 12.85 MB / 350.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.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.00347/0.00347, allocations: 68.39 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1912, allocations: 89.14 MB / 0.6421 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005496/0.1967, allocations: 3.59 MB / 0.6456 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.2, allocations: 1.766 MB / 0.6473 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.2003, allocations: 19.81 kB / 0.6473 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009033/0.2012, allocations: 270.6 kB / 0.6476 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.202, allocations: 302.5 kB / 0.6479 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.2026, allocations: 255.5 kB / 0.6481 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009475/0.2035, allocations: 0.6013 MB / 0.6487 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.204, allocations: 238.5 kB / 0.6489 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.2044, allocations: 247.1 kB / 0.6492 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.2048, allocations: 231 kB / 0.6494 GB, free: 2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.2048, allocations: 31.88 kB / 0.6494 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.2053, allocations: 251.4 kB / 0.6497 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2054, allocations: 119.6 kB / 0.6498 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.2056, allocations: 175.1 kB / 0.65 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.2063, allocations: 0.5914 MB / 0.6505 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2063, allocations: 0 / 0.6505 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2063, allocations: 0 / 0.6505 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.2063, allocations: 0 / 0.6505 GB, free: 0.8398 MB / 0.545 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.001146/0.2074, allocations: 0.6875 MB / 0.6512 GB, free: 124 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2075, allocations: 8.031 kB / 0.6512 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.2083, allocations: 133.7 kB / 0.6513 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.2089, allocations: 353.3 kB / 0.6517 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.209, allocations: 21.03 kB / 0.6517 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.209, allocations: 28.38 kB / 0.6517 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/0.2099, allocations: 0.6293 MB / 0.6523 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.2099, allocations: 3.938 kB / 0.6523 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.21, allocations: 16 kB / 0.6524 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/0.21, allocations: 40.62 kB / 0.6524 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.2108, allocations: 414.1 kB / 0.6528 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.2134, allocations: 2.691 MB / 0.6554 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.2141, allocations: 321.7 kB / 0.6557 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.2144, allocations: 156.8 kB / 0.6559 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2144, allocations: 4 kB / 0.6559 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.2145, allocations: 38.56 kB / 0.6559 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.2145, allocations: 0 / 0.6559 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.001948/0.2164, allocations: 0.8295 MB / 0.6567 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2165, allocations: 55.62 kB / 0.6568 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.2168, allocations: 337.5 kB / 0.6571 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2168, allocations: 25.7 kB / 0.6571 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.217, allocations: 260 kB / 0.6574 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.64e-05/0.2171, allocations: 99.16 kB / 0.6575 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2172, allocations: 74.16 kB / 0.6575 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2173, allocations: 346.8 kB / 0.6579 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.2176, allocations: 144.9 kB / 0.658 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.218, allocations: 295.1 kB / 0.6583 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.2187, allocations: 480.6 kB / 0.6587 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.2188, allocations: 7.922 kB / 0.6588 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001035/0.2198, allocations: 0.5629 MB / 0.6593 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2198, allocations: 14.12 kB / 0.6593 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.2198, allocations: 11.98 kB / 0.6593 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.2201, allocations: 90.45 kB / 0.6594 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.2205, allocations: 91.81 kB / 0.6595 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2205, allocations: 8 kB / 0.6595 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2207, allocations: 23.97 kB / 0.6595 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.2208, allocations: 20 kB / 0.6596 GB, free: 7.105 MB / 0.5606 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.0001908/0.221, allocations: 177.6 kB / 0.6597 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.221, allocations: 39.77 kB / 0.6598 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.2219, allocations: 464 kB / 0.6602 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2219, allocations: 3.938 kB / 0.6602 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2219, allocations: 4 kB / 0.6602 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2219, allocations: 3.984 kB / 0.6602 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.2234, allocations: 0.8493 MB / 0.661 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2234, allocations: 0 / 0.661 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.2237, allocations: 51.89 kB / 0.6611 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.2239, allocations: 82.5 kB / 0.6612 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.2239, allocations: 4 kB / 0.6612 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.2239, allocations: 4 kB / 0.6612 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2239, allocations: 3.938 kB / 0.6612 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.2248, allocations: 0.5471 MB / 0.6617 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.2249, allocations: 55.73 kB / 0.6618 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.225, allocations: 8 kB / 0.6618 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.2252, allocations: 27.91 kB / 0.6618 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.2253, allocations: 23.95 kB / 0.6618 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2253, allocations: 8 kB / 0.6618 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002149/0.2255, allocations: 219.2 kB / 0.662 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2255, allocations: 0 / 0.662 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004053/0.2259, allocations: 88 kB / 0.6621 GB, free: 4.348 MB / 0.5606 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.0001181/0.226, allocations: 111.2 kB / 0.6622 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008113/0.2268, allocations: 387.9 kB / 0.6626 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2268, allocations: 0 / 0.6626 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.2272, allocations: 194.3 kB / 0.6628 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.2279, allocations: 130.5 kB / 0.6629 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.229, allocations: 0.7307 MB / 0.6636 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.2293, allocations: 224.1 kB / 0.6638 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.2295, allocations: 83.3 kB / 0.6639 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.2296, allocations: 28.5 kB / 0.6639 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2296, allocations: 0 / 0.6639 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of Templates: time 0.01089/0.2405, allocations: 4.82 MB / 0.6687 GB, free: 13.71 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.765949681983329] Failed to read output from testmodel.py, exit status != 0: 0.2523848890559748 0.26408611400000004 0.054673696 Calling exit ...