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.0008608/0.0008608, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009104/0.0009104, allocations: 169 kB / 23.27 MB, free: 1.223 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.9691/0.9691, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.001571/0.001571, allocations: 240.8 kB / 260.5 MB, free: 12.67 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.7003/0.7003, allocations: 138.4 MB / 455.5 MB, free: 1.418 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.232e-06/1.232e-06, allocations: 0 / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.662e-05, allocations: 2.312 kB / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003326/0.003342, allocations: 3.733 MB / 0.5593 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005228, allocations: 1.369 MB / 0.5606 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.005493, allocations: 35.62 kB / 0.5606 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.005973, allocations: 162.8 kB / 0.5608 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.006489, allocations: 357.7 kB / 0.5611 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.006941, allocations: 323.3 kB / 0.5614 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.007696, allocations: 0.9447 MB / 0.5624 GB, free: 9.305 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.008073, allocations: 318.4 kB / 0.5627 GB, free: 8.992 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.008597, allocations: 498.6 kB / 0.5631 GB, free: 8.504 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.00896, allocations: 331.1 kB / 0.5635 GB, free: 8.18 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.009005, allocations: 36 kB / 0.5635 GB, free: 8.145 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.009171, allocations: 111.7 kB / 0.5636 GB, free: 8.035 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.009292, allocations: 199.3 kB / 0.5638 GB, free: 7.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.009432, allocations: 207.5 kB / 0.564 GB, free: 7.637 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.009883, allocations: 0.502 MB / 0.5645 GB, free: 7.133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009886, allocations: 4 kB / 0.5645 GB, free: 7.129 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009887, allocations: 0 / 0.5645 GB, free: 7.129 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.009894, allocations: 0 / 0.5645 GB, free: 7.129 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.0007749/0.01067, allocations: 0.9352 MB / 0.5654 GB, free: 6.156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.0107, allocations: 12.75 kB / 0.5654 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005197/0.01122, allocations: 216 kB / 0.5656 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.01169, allocations: 494 kB / 0.5661 GB, free: 5.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01171, allocations: 33.38 kB / 0.5661 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.01176, allocations: 48.34 kB / 0.5662 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.01227, allocations: 0.8257 MB / 0.567 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.01229, allocations: 8.125 kB / 0.567 GB, free: 4.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.01232, allocations: 32.34 kB / 0.567 GB, free: 4.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.01238, allocations: 68.91 kB / 0.5671 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.01263, allocations: 254.3 kB / 0.5673 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.01518, allocations: 6.167 MB / 0.5733 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.01543, allocations: 254.9 kB / 0.5736 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.01551, allocations: 71.66 kB / 0.5736 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.01552, allocations: 8.531 kB / 0.5736 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.01555, allocations: 41.39 kB / 0.5737 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.01555, allocations: 0 / 0.5737 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001013/0.01656, allocations: 0.5567 MB / 0.5742 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.01658, allocations: 55.69 kB / 0.5743 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.01684, allocations: 0.4903 MB / 0.5748 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01686, allocations: 33.7 kB / 0.5748 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.01702, allocations: 422.9 kB / 0.5752 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.01709, allocations: 126.9 kB / 0.5753 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.01718, allocations: 119.9 kB / 0.5754 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.01731, allocations: 0.539 MB / 0.576 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.01738, allocations: 73.19 kB / 0.576 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.0176, allocations: 434.8 kB / 0.5764 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.01794, allocations: 0.5427 MB / 0.577 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01795, allocations: 4 kB / 0.577 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007806/0.01873, allocations: 0.5574 MB / 0.5775 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01874, allocations: 12.94 kB / 0.5775 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01875, allocations: 8 kB / 0.5775 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.019, allocations: 130.3 kB / 0.5777 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.01921, allocations: 115.8 kB / 0.5778 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.02116, allocations: 5.186 MB / 0.5828 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.02131, allocations: 20 kB / 0.5829 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.02134, allocations: 20 kB / 0.5829 GB, free: 2.938 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.0001227/0.02146, allocations: 196.3 kB / 0.5831 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.02152, allocations: 75.69 kB / 0.5831 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.02188, allocations: 349 kB / 0.5835 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.02188, allocations: 4 kB / 0.5835 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.02188, allocations: 0 / 0.5835 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02189, allocations: 3.984 kB / 0.5835 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.02284, allocations: 0.7903 MB / 0.5843 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.02285, allocations: 0 / 0.5843 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.02296, allocations: 47.91 kB / 0.5843 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.02315, allocations: 118.5 kB / 0.5844 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.02316, allocations: 8 kB / 0.5844 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.02497, allocations: 5.171 MB / 0.5895 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.02497, allocations: 7.938 kB / 0.5895 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.02537, allocations: 0.5312 MB / 0.59 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/0.02546, allocations: 75.59 kB / 0.5901 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.02549, allocations: 15.92 kB / 0.5901 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.02559, allocations: 8 kB / 0.5901 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.02564, allocations: 35.83 kB / 0.5901 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.02565, allocations: 12.06 kB / 0.5901 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001335/0.02579, allocations: 298.7 kB / 0.5904 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02579, allocations: 0 / 0.5904 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003826/0.02617, allocations: 140 kB / 0.5906 GB, free: 10.52 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.0001046/0.02627, allocations: 107.2 kB / 0.5907 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008683/0.02714, allocations: 0.812 MB / 0.5914 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02714, allocations: 0 / 0.5914 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.02748, allocations: 0.641 MB / 0.5921 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.028, allocations: 200.5 kB / 0.5923 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.02905, allocations: 0.9631 MB / 0.5932 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.095e-05/0.02914, allocations: 158 kB / 0.5934 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.0293, allocations: 65.05 kB / 0.5934 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.02954, allocations: 218.1 kB / 0.5936 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/0.02954, allocations: 0 / 0.5936 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of Templates: time 0.1676/0.1971, allocations: 8.377 MB / 0.6018 GB, free: 93.48 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.74646139703691]