Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001028/0.001028, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009304/0.0009304, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9096/0.9096, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001553/0.001553, allocations: 238.5 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6857/0.6857, allocations: 138.4 MB / 455.2 MB, free: 1.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.196e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00357/0.003592, allocations: 3.8 MB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005548, allocations: 1.372 MB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.005779, allocations: 31.69 kB / 0.5602 GB, free: 11.28 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.006267, allocations: 174.7 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.006807, allocations: 353.8 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.007331, allocations: 319.3 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009065/0.008237, allocations: 0.9486 MB / 0.5619 GB, free: 9.492 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.008684, allocations: 322.4 kB / 0.5622 GB, free: 9.176 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.009306, allocations: 494.7 kB / 0.5627 GB, free: 8.691 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.009697, allocations: 327 kB / 0.563 GB, free: 8.371 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.009744, allocations: 40 kB / 0.5631 GB, free: 8.332 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.009916, allocations: 111.7 kB / 0.5632 GB, free: 8.223 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.01004, allocations: 187.4 kB / 0.5634 GB, free: 8.039 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.01019, allocations: 215.4 kB / 0.5636 GB, free: 7.828 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.01065, allocations: 0.502 MB / 0.564 GB, free: 7.324 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01066, allocations: 0 / 0.564 GB, free: 7.324 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01066, allocations: 0 / 0.564 GB, free: 7.324 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.01066, allocations: 0 / 0.564 GB, free: 7.324 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009853/0.01165, allocations: 0.947 MB / 0.565 GB, free: 6.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01169, allocations: 8.75 kB / 0.565 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.01227, allocations: 252 kB / 0.5652 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.01278, allocations: 0.4901 MB / 0.5657 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.0128, allocations: 33.38 kB / 0.5657 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.01286, allocations: 52.34 kB / 0.5658 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.0135, allocations: 0.8571 MB / 0.5666 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.01353, allocations: 8.125 kB / 0.5666 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.01356, allocations: 24.36 kB / 0.5666 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-05/0.01362, allocations: 72.83 kB / 0.5667 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.01397, allocations: 305.2 kB / 0.567 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.01693, allocations: 6.288 MB / 0.5731 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.01725, allocations: 270.9 kB / 0.5734 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01737, allocations: 87.66 kB / 0.5735 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01739, allocations: 8.531 kB / 0.5735 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.01741, allocations: 41.39 kB / 0.5735 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.01741, allocations: 3.938 kB / 0.5735 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001155/0.01857, allocations: 0.689 MB / 0.5742 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.0186, allocations: 55.69 kB / 0.5743 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.01916, allocations: 0.4945 MB / 0.5748 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.01919, allocations: 29.7 kB / 0.5748 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.01936, allocations: 419 kB / 0.5752 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.01943, allocations: 127 kB / 0.5753 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.01953, allocations: 111.9 kB / 0.5754 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01966, allocations: 0.5352 MB / 0.5759 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.01977, allocations: 85.27 kB / 0.576 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.02004, allocations: 462.5 kB / 0.5765 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.02048, allocations: 0.5818 MB / 0.577 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02048, allocations: 0 / 0.577 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006395/0.02112, allocations: 0.612 MB / 0.5776 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.02114, allocations: 8 kB / 0.5776 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.02115, allocations: 8.906 kB / 0.5776 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.02145, allocations: 138.3 kB / 0.5778 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.0217, allocations: 127.7 kB / 0.5779 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.02409, allocations: 5.263 MB / 0.583 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.02427, allocations: 31.97 kB / 0.5831 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.02429, allocations: 32 kB / 0.5831 GB, free: 2.449 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.02442, allocations: 196.3 kB / 0.5833 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.02448, allocations: 67.67 kB / 0.5833 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.0249, allocations: 373 kB / 0.5837 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.02491, allocations: 4 kB / 0.5837 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02491, allocations: 7.938 kB / 0.5837 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.02491, allocations: 0 / 0.5837 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.02575, allocations: 0.8836 MB / 0.5846 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.02575, allocations: 4 kB / 0.5846 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.02587, allocations: 59.89 kB / 0.5846 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.02608, allocations: 118.5 kB / 0.5847 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.0261, allocations: 8 kB / 0.5848 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.02818, allocations: 5.24 MB / 0.5899 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.02819, allocations: 7.938 kB / 0.5899 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.02864, allocations: 0.5546 MB / 0.5904 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.02874, allocations: 91.56 kB / 0.5905 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.02877, allocations: 11.94 kB / 0.5905 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.02889, allocations: 19.97 kB / 0.5905 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.02894, allocations: 31.89 kB / 0.5906 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.02895, allocations: 15.98 kB / 0.5906 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001724/0.02912, allocations: 314.8 kB / 0.5909 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.02912, allocations: 0 / 0.5909 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003848/0.02951, allocations: 143.9 kB / 0.591 GB, free: 9.734 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001059/0.02961, allocations: 107.2 kB / 0.5911 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006946/0.03031, allocations: 0.8432 MB / 0.5919 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03031, allocations: 4.062 kB / 0.5919 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.03067, allocations: 0.6566 MB / 0.5926 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.03122, allocations: 199.4 kB / 0.5928 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.03235, allocations: 0.9672 MB / 0.5937 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.981e-05/0.03244, allocations: 162 kB / 0.5939 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000161/0.0326, allocations: 96.97 kB / 0.594 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.03266, allocations: 36.5 kB / 0.594 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.03266, allocations: 0 / 0.594 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of Templates: time 0.1794/0.212, allocations: 8.248 MB / 0.6021 GB, free: 91.79 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.768800059799105]