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.0009343/0.0009343, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009628/0.0009628, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.8973/0.8973, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.004141/0.004141, allocations: 240.1 kB / 261.3 MB, free: 12.66 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.695/0.695, allocations: 138.4 MB / 456.3 MB, free: 1.355 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.372e-06/1.372e-06, allocations: 0 / 0.5564 GB, free: 208 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.774e-05, allocations: 2.312 kB / 0.5564 GB, free: 204 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005043/0.00506, allocations: 3.73 MB / 0.56 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.007622, allocations: 1.372 MB / 0.5614 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.007909, allocations: 39.56 kB / 0.5614 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.00852, allocations: 162.8 kB / 0.5615 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.009203, allocations: 361.7 kB / 0.5619 GB, free: 10.51 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.009788, allocations: 315.3 kB / 0.5622 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009597/0.01075, allocations: 0.9486 MB / 0.5631 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.0112, allocations: 322.4 kB / 0.5634 GB, free: 8.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.01183, allocations: 498.7 kB / 0.5639 GB, free: 8.441 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.01235, allocations: 327 kB / 0.5642 GB, free: 8.121 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.01242, allocations: 40 kB / 0.5643 GB, free: 8.082 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.01262, allocations: 107.8 kB / 0.5644 GB, free: 7.977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.0128, allocations: 191.3 kB / 0.5645 GB, free: 7.789 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.01302, allocations: 211.4 kB / 0.5647 GB, free: 7.582 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.01367, allocations: 0.502 MB / 0.5652 GB, free: 7.078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01368, allocations: 4 kB / 0.5652 GB, free: 7.074 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01368, allocations: 0 / 0.5652 GB, free: 7.074 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.01369, allocations: 0 / 0.5652 GB, free: 7.074 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.001139/0.01482, allocations: 0.9391 MB / 0.5662 GB, free: 6.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01486, allocations: 12.75 kB / 0.5662 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.01575, allocations: 216.1 kB / 0.5664 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008422/0.01659, allocations: 493.9 kB / 0.5668 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.01662, allocations: 37.36 kB / 0.5669 GB, free: 5.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.0167, allocations: 52.3 kB / 0.5669 GB, free: 5.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007879/0.01749, allocations: 0.8219 MB / 0.5677 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.01751, allocations: 8.109 kB / 0.5677 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.01756, allocations: 24.31 kB / 0.5678 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.906e-05/0.01765, allocations: 72.89 kB / 0.5678 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.01806, allocations: 250.3 kB / 0.5681 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.02138, allocations: 6.175 MB / 0.5741 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.02163, allocations: 243 kB / 0.5743 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.02171, allocations: 79.62 kB / 0.5744 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.02173, allocations: 4.531 kB / 0.5744 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.02175, allocations: 37.39 kB / 0.5744 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.02176, allocations: 0 / 0.5744 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0009106/0.02267, allocations: 0.5646 MB / 0.575 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.02269, allocations: 55.69 kB / 0.5751 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.02294, allocations: 498.1 kB / 0.5755 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.02296, allocations: 29.7 kB / 0.5756 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.02312, allocations: 422.9 kB / 0.576 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.02318, allocations: 130.9 kB / 0.5761 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/0.02328, allocations: 115.9 kB / 0.5762 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.02341, allocations: 0.5468 MB / 0.5767 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.02348, allocations: 69.2 kB / 0.5768 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.02393, allocations: 430.8 kB / 0.5772 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.02426, allocations: 0.5466 MB / 0.5777 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02426, allocations: 0 / 0.5777 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005409/0.0248, allocations: 0.5659 MB / 0.5783 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.02482, allocations: 8.188 kB / 0.5783 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.02483, allocations: 15.94 kB / 0.5783 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.02507, allocations: 126.3 kB / 0.5784 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.02528, allocations: 111.8 kB / 0.5785 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.02715, allocations: 5.182 MB / 0.5836 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.0273, allocations: 16 kB / 0.5836 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.02732, allocations: 24 kB / 0.5836 GB, free: 2.891 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.0003634/0.02769, allocations: 204.4 kB / 0.5838 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.02775, allocations: 67.62 kB / 0.5839 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.02813, allocations: 349 kB / 0.5842 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.02814, allocations: 0 / 0.5842 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.02814, allocations: 8 kB / 0.5842 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02814, allocations: 7.969 kB / 0.5842 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006979/0.02884, allocations: 0.775 MB / 0.585 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02884, allocations: 8.031 kB / 0.585 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.02896, allocations: 47.91 kB / 0.5851 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.02916, allocations: 110.3 kB / 0.5852 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.02917, allocations: 8 kB / 0.5852 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.03087, allocations: 5.167 MB / 0.5902 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.03088, allocations: 11.94 kB / 0.5902 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.03151, allocations: 0.5312 MB / 0.5907 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.0316, allocations: 83.52 kB / 0.5908 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.03163, allocations: 8 kB / 0.5908 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.03174, allocations: 8.125 kB / 0.5908 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.03178, allocations: 43.77 kB / 0.5909 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.03179, allocations: 8 kB / 0.5909 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001371/0.03193, allocations: 298.7 kB / 0.5912 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03193, allocations: 0 / 0.5912 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003658/0.0323, allocations: 144 kB / 0.5913 GB, free: 10.47 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 9.415e-05/0.03239, allocations: 107.2 kB / 0.5914 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.03297, allocations: 0.8111 MB / 0.5922 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.03297, allocations: 4 kB / 0.5922 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.03331, allocations: 0.6346 MB / 0.5928 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.03386, allocations: 209.7 kB / 0.593 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.03488, allocations: 0.9644 MB / 0.594 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.441e-05/0.03498, allocations: 158 kB / 0.5941 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.03512, allocations: 65.05 kB / 0.5942 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.03537, allocations: 218.1 kB / 0.5944 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.03537, allocations: 0 / 0.5944 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of Templates: time 0.1609/0.1963, allocations: 8.504 MB / 0.6027 GB, free: 93.55 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.8087535821832716]