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.001244/0.001244, allocations: 92.22 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.001417/0.001417, allocations: 169 kB / 23.02 MB, free: 1.551 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.9675/0.9675, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001637/0.001637, allocations: 230.2 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.734/0.734, allocations: 138.4 MB / 455.2 MB, free: 1.527 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 2.525e-06/2.525e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.495e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005206/0.005231, allocations: 3.784 MB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.007548, allocations: 1.392 MB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.007768, allocations: 35.62 kB / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.008296, allocations: 166.7 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.008802, allocations: 345.8 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.009268, allocations: 319.3 kB / 0.561 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.01004, allocations: 0.9525 MB / 0.5619 GB, free: 9.484 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.01046, allocations: 318.4 kB / 0.5622 GB, free: 9.172 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.01093, allocations: 494.7 kB / 0.5627 GB, free: 8.688 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.01125, allocations: 303.1 kB / 0.563 GB, free: 8.391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.0113, allocations: 40 kB / 0.563 GB, free: 8.352 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.01146, allocations: 111.7 kB / 0.5631 GB, free: 8.242 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.0116, allocations: 191.4 kB / 0.5633 GB, free: 8.055 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.01175, allocations: 223.4 kB / 0.5635 GB, free: 7.836 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.01218, allocations: 0.5137 MB / 0.564 GB, free: 7.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.01219, allocations: 0 / 0.564 GB, free: 7.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01219, allocations: 0 / 0.564 GB, free: 7.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.01219, allocations: 0 / 0.564 GB, free: 7.32 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.0009537/0.01315, allocations: 0.9392 MB / 0.565 GB, free: 6.344 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.01318, allocations: 12.75 kB / 0.565 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.01392, allocations: 283.9 kB / 0.5652 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.01442, allocations: 0.495 MB / 0.5657 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.01444, allocations: 33.36 kB / 0.5658 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.01449, allocations: 52.36 kB / 0.5658 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.01533, allocations: 0.8649 MB / 0.5666 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.01535, allocations: 8.125 kB / 0.5667 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.01538, allocations: 20.38 kB / 0.5667 GB, free: 4.348 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.01544, allocations: 72.89 kB / 0.5667 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.01578, allocations: 301.2 kB / 0.567 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.01828, allocations: 6.284 MB / 0.5732 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.01883, allocations: 280 kB / 0.5734 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.01894, allocations: 83.66 kB / 0.5735 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.01897, allocations: 8.531 kB / 0.5735 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.01899, allocations: 41.33 kB / 0.5736 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.01899, allocations: 0 / 0.5736 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001129/0.02012, allocations: 0.6968 MB / 0.5742 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.02014, allocations: 59.62 kB / 0.5743 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.02044, allocations: 0.4906 MB / 0.5748 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.02046, allocations: 33.7 kB / 0.5748 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.02062, allocations: 411 kB / 0.5752 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.02068, allocations: 130.9 kB / 0.5753 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.02078, allocations: 111.9 kB / 0.5754 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.0209, allocations: 0.543 MB / 0.576 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.02102, allocations: 81.27 kB / 0.576 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.02127, allocations: 454.6 kB / 0.5765 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.02168, allocations: 0.5779 MB / 0.577 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.02169, allocations: 4 kB / 0.577 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000641/0.02233, allocations: 0.6127 MB / 0.5776 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.02235, allocations: 11.31 kB / 0.5777 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.02235, allocations: 15.94 kB / 0.5777 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.02264, allocations: 126.3 kB / 0.5778 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.02289, allocations: 127.7 kB / 0.5779 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.02511, allocations: 5.263 MB / 0.583 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.02528, allocations: 39.95 kB / 0.5831 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.02531, allocations: 28 kB / 0.5831 GB, free: 2.414 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.000118/0.02543, allocations: 196.5 kB / 0.5833 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.02548, allocations: 67.67 kB / 0.5834 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.02593, allocations: 377 kB / 0.5837 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.02593, allocations: 0 / 0.5837 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.02593, allocations: 7.938 kB / 0.5837 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02594, allocations: 0 / 0.5837 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/0.02677, allocations: 0.8914 MB / 0.5846 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02677, allocations: 4.219 kB / 0.5846 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.02689, allocations: 55.89 kB / 0.5847 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.02711, allocations: 118.3 kB / 0.5848 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.02713, allocations: 8 kB / 0.5848 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.02915, allocations: 5.236 MB / 0.5899 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02915, allocations: 3.938 kB / 0.5899 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.0296, allocations: 0.5663 MB / 0.5904 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.02971, allocations: 83.62 kB / 0.5905 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.02973, allocations: 11.94 kB / 0.5905 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.02986, allocations: 24.09 kB / 0.5906 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.0299, allocations: 35.89 kB / 0.5906 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.02991, allocations: 11.98 kB / 0.5906 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001846/0.0301, allocations: 310.8 kB / 0.5909 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.0301, allocations: 0 / 0.5909 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003553/0.03045, allocations: 140 kB / 0.591 GB, free: 9.703 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 8.769e-05/0.03054, allocations: 111.2 kB / 0.5911 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006825/0.03122, allocations: 0.8471 MB / 0.592 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03123, allocations: 0 / 0.592 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.03158, allocations: 0.6527 MB / 0.5926 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.03212, allocations: 210.3 kB / 0.5928 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.03318, allocations: 0.9722 MB / 0.5938 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.03351, allocations: 158 kB / 0.5939 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.03367, allocations: 92.98 kB / 0.594 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.662e-05/0.03373, allocations: 36.5 kB / 0.594 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.03373, allocations: 4 kB / 0.594 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of Templates: time 0.16/0.1937, allocations: 7.847 MB / 0.6017 GB, free: 94.44 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.8976824921555817]