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.001519/0.001519, allocations: 84.72 kB / 19.44 MB, free: 356 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.0016/0.0016, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.451/1.451, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.002654/0.002654, allocations: 236.8 kB / 259.8 MB, free: 12.83 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 1.091/1.091, allocations: 138.4 MB / 454.7 MB, free: 1.441 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.273e-06/1.273e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.635e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007453/0.007479, allocations: 4.556 MB / 0.5588 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.01211, allocations: 2.385 MB / 0.5611 GB, free: 9.859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.01248, allocations: 31.69 kB / 0.5611 GB, free: 9.828 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.01383, allocations: 409.8 kB / 0.5615 GB, free: 9.426 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.01528, allocations: 481.2 kB / 0.562 GB, free: 8.953 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000953/0.01623, allocations: 378.9 kB / 0.5623 GB, free: 8.582 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.01741, allocations: 0.9486 MB / 0.5633 GB, free: 7.629 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.01795, allocations: 322.4 kB / 0.5636 GB, free: 7.312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.01864, allocations: 490.7 kB / 0.564 GB, free: 6.832 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.01915, allocations: 303.1 kB / 0.5643 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/0.01922, allocations: 36 kB / 0.5644 GB, free: 6.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.01986, allocations: 366.9 kB / 0.5647 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.0201, allocations: 199.3 kB / 0.5649 GB, free: 5.945 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.02037, allocations: 207.5 kB / 0.5651 GB, free: 5.742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.02158, allocations: 0.9032 MB / 0.566 GB, free: 4.836 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.02159, allocations: 4 kB / 0.566 GB, free: 4.832 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02159, allocations: 0 / 0.566 GB, free: 4.832 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.0216, allocations: 0 / 0.566 GB, free: 4.832 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.001566/0.02316, allocations: 0.874 MB / 0.5668 GB, free: 3.926 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.0232, allocations: 16.75 kB / 0.5669 GB, free: 3.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.02461, allocations: 291.9 kB / 0.5671 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.02551, allocations: 0.4962 MB / 0.5676 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.02555, allocations: 33.36 kB / 0.5677 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.917e-05/0.02565, allocations: 44.38 kB / 0.5677 GB, free: 3.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.02728, allocations: 0.9705 MB / 0.5686 GB, free: 1.895 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.0273, allocations: 12.12 kB / 0.5687 GB, free: 1.883 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.02737, allocations: 28.34 kB / 0.5687 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.02748, allocations: 68.89 kB / 0.5687 GB, free: 1.785 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.02843, allocations: 0.5656 MB / 0.5693 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/0.03331, allocations: 4.623 MB / 0.5738 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.03405, allocations: 435.2 kB / 0.5742 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.03439, allocations: 200.7 kB / 0.5744 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.03441, allocations: 4 kB / 0.5744 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.03445, allocations: 38.5 kB / 0.5745 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/0.03445, allocations: 0 / 0.5745 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.00287/0.03732, allocations: 1.141 MB / 0.5756 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.03737, allocations: 55.69 kB / 0.5756 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.03794, allocations: 474.6 kB / 0.5761 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.03797, allocations: 29.7 kB / 0.5761 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.03829, allocations: 368.3 kB / 0.5765 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.03841, allocations: 127 kB / 0.5766 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.03859, allocations: 110.2 kB / 0.5767 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.03882, allocations: 366.7 kB / 0.577 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.03914, allocations: 189.2 kB / 0.5772 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.03972, allocations: 455.3 kB / 0.5777 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/0.04072, allocations: 0.6835 MB / 0.5783 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.04072, allocations: 0 / 0.5783 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001495/0.04221, allocations: 0.8373 MB / 0.5791 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.04224, allocations: 12 kB / 0.5791 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.04225, allocations: 8 kB / 0.5792 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.04283, allocations: 160.3 kB / 0.5793 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.04329, allocations: 123.8 kB / 0.5794 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.04757, allocations: 3.973 MB / 0.5833 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.04793, allocations: 31.97 kB / 0.5833 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.04797, allocations: 28 kB / 0.5834 GB, free: 1.957 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.0002841/0.04826, allocations: 213.8 kB / 0.5836 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.04838, allocations: 75.61 kB / 0.5836 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.04958, allocations: 0.5924 MB / 0.5842 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.04958, allocations: 4 kB / 0.5842 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.04959, allocations: 3.938 kB / 0.5842 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.04959, allocations: 3.984 kB / 0.5842 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.05155, allocations: 1.121 MB / 0.5853 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.05155, allocations: 0 / 0.5853 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.05182, allocations: 55.89 kB / 0.5854 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/0.0523, allocations: 144.4 kB / 0.5855 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.05232, allocations: 11.94 kB / 0.5855 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/0.05652, allocations: 3.961 MB / 0.5894 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.05652, allocations: 4 kB / 0.5894 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.05771, allocations: 0.7084 MB / 0.5901 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.05791, allocations: 87.58 kB / 0.5902 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.05797, allocations: 8.25 kB / 0.5902 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.05823, allocations: 27.97 kB / 0.5902 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.05831, allocations: 43.81 kB / 0.5903 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.05834, allocations: 8 kB / 0.5903 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003587/0.05869, allocations: 298.9 kB / 0.5905 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.05869, allocations: 0 / 0.5905 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006606/0.05936, allocations: 144 kB / 0.5907 GB, free: 9.984 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.0001588/0.05951, allocations: 111.2 kB / 0.5908 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.06101, allocations: 0.8623 MB / 0.5916 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.06101, allocations: 0 / 0.5916 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.06191, allocations: 0.5605 MB / 0.5922 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.06288, allocations: 202 kB / 0.5924 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.06462, allocations: 1.045 MB / 0.5934 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.06499, allocations: 311.3 kB / 0.5937 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.0653, allocations: 117 kB / 0.5938 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.06541, allocations: 36.5 kB / 0.5938 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/0.06541, allocations: 0 / 0.5938 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of Templates: time 0.1853/0.2507, allocations: 7.791 MB / 0.6014 GB, free: 99.25 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.844884356949478]