Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 111 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7951/0.7951, allocations: 128.4 MB / 426.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.97 kB / 0.5912 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1458, allocations: 83.26 MB / 0.6725 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006281/0.1521, allocations: 4.885 MB / 0.6772 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.1559, allocations: 2.487 MB / 0.6797 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.1561, allocations: 23.81 kB / 0.6797 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.1573, allocations: 409.8 kB / 0.6801 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009241/0.1582, allocations: 469.7 kB / 0.6805 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000794/0.159, allocations: 382 kB / 0.6809 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.16, allocations: 0.9134 MB / 0.6818 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.1605, allocations: 298.4 kB / 0.6821 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.1609, allocations: 342.7 kB / 0.6824 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.1614, allocations: 366.4 kB / 0.6827 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.1614, allocations: 40 kB / 0.6828 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.1621, allocations: 415 kB / 0.6832 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1623, allocations: 183.4 kB / 0.6834 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.1626, allocations: 322.3 kB / 0.6837 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.1636, allocations: 0.8831 MB / 0.6845 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1636, allocations: 0 / 0.6845 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1636, allocations: 0 / 0.6845 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1636, allocations: 0 / 0.6845 GB, free: 7.656 MB / 0.5137 GB 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.001471/0.1651, allocations: 0.961 MB / 0.6855 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1651, allocations: 12.03 kB / 0.6855 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.1663, allocations: 208.2 kB / 0.6857 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.1671, allocations: 0.53 MB / 0.6862 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.1671, allocations: 37.34 kB / 0.6862 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.1672, allocations: 52.36 kB / 0.6863 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.1683, allocations: 0.8446 MB / 0.6871 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.1684, allocations: 11.89 kB / 0.6871 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.1684, allocations: 20 kB / 0.6871 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.1685, allocations: 64.95 kB / 0.6872 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.1693, allocations: 0.5695 MB / 0.6877 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/0.1741, allocations: 5.647 MB / 0.6933 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.1748, allocations: 434.1 kB / 0.6937 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.1751, allocations: 200.7 kB / 0.6939 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1751, allocations: 4 kB / 0.6939 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1751, allocations: 38.55 kB / 0.6939 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.1751, allocations: 0 / 0.6939 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002511/0.1776, allocations: 1.509 MB / 0.6954 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1777, allocations: 55.69 kB / 0.6954 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.1782, allocations: 0.495 MB / 0.6959 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1782, allocations: 33.7 kB / 0.696 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.1785, allocations: 355.8 kB / 0.6963 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/0.1786, allocations: 126.9 kB / 0.6964 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.1787, allocations: 118.2 kB / 0.6965 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1789, allocations: 362.8 kB / 0.6969 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.1792, allocations: 193.2 kB / 0.6971 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.1796, allocations: 447.3 kB / 0.6975 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.1805, allocations: 0.6915 MB / 0.6982 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1805, allocations: 4 kB / 0.6982 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001236/0.1817, allocations: 0.8134 MB / 0.699 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1817, allocations: 11.98 kB / 0.699 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1817, allocations: 8 kB / 0.699 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.1822, allocations: 160.6 kB / 0.6991 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.1826, allocations: 115.8 kB / 0.6992 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.186, allocations: 4.345 MB / 0.7035 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.1863, allocations: 35.97 kB / 0.7035 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.1864, allocations: 28 kB / 0.7035 GB, free: 2.684 MB / 0.5294 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.0002481/0.1866, allocations: 213.6 kB / 0.7037 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.1867, allocations: 63.62 kB / 0.7038 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009812/0.1877, allocations: 0.597 MB / 0.7044 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1877, allocations: 8 kB / 0.7044 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1877, allocations: 3.984 kB / 0.7044 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1877, allocations: 0 / 0.7044 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.1894, allocations: 1.258 MB / 0.7056 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1894, allocations: 0 / 0.7056 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.1897, allocations: 55.89 kB / 0.7057 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.1901, allocations: 148.4 kB / 0.7058 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1901, allocations: 11.94 kB / 0.7058 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.1934, allocations: 4.336 MB / 0.7101 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1934, allocations: 4 kB / 0.7101 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.1944, allocations: 0.7086 MB / 0.7108 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.1946, allocations: 176.6 kB / 0.7109 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.1946, allocations: 12 kB / 0.7109 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1949, allocations: 23.97 kB / 0.711 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.195, allocations: 27.91 kB / 0.711 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.195, allocations: 8 kB / 0.711 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003443/0.1953, allocations: 334.8 kB / 0.7113 GB, free: 10.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1953, allocations: 0 / 0.7113 GB, free: 10.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005673/0.1959, allocations: 144 kB / 0.7115 GB, free: 9.941 MB / 0.545 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.000144/0.196, allocations: 111.1 kB / 0.7116 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.1974, allocations: 1.01 MB / 0.7126 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1974, allocations: 0 / 0.7126 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008179/0.1982, allocations: 0.7266 MB / 0.7133 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.1991, allocations: 207.6 kB / 0.7135 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2005, allocations: 1.053 MB / 0.7145 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.2011, allocations: 0.9058 MB / 0.7154 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.2014, allocations: 121.3 kB / 0.7155 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.2014, allocations: 39.42 kB / 0.7155 GB, free: 5.535 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2014, allocations: 0 / 0.7155 GB, free: 5.535 MB / 0.545 GB Notification: Performance of Templates: time 0.01365/0.2151, allocations: 7.83 MB / 0.7232 GB, free: 13.79 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480]