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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 107.2 kB / 16.41 MB, free: 6.516 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.001027/0.001027, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7641/0.7641, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.48 kB / 0.5679 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 77.94 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006463/0.1447, allocations: 4.831 MB / 0.6488 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.1486, allocations: 2.448 MB / 0.6512 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.1489, allocations: 23.81 kB / 0.6512 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1501, allocations: 405.9 kB / 0.6516 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009885/0.1511, allocations: 477.6 kB / 0.652 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.152, allocations: 365.1 kB / 0.6524 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000936/0.1529, allocations: 0.9212 MB / 0.6533 GB, free: 88 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.1535, allocations: 354.7 kB / 0.6536 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.1539, allocations: 354.6 kB / 0.654 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.1544, allocations: 338.5 kB / 0.6543 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.1545, allocations: 40 kB / 0.6543 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005948/0.1551, allocations: 403.1 kB / 0.6547 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.1552, allocations: 179.4 kB / 0.6549 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.1556, allocations: 322.2 kB / 0.6552 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009456/0.1566, allocations: 0.887 MB / 0.6561 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1566, allocations: 0 / 0.6561 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1566, allocations: 0 / 0.6561 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.1566, allocations: 0 / 0.6561 GB, free: 13.23 MB / 0.4981 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.001434/0.158, allocations: 0.9572 MB / 0.657 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1581, allocations: 8.625 kB / 0.657 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.1582, allocations: 98.62 kB / 0.6571 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.1595, allocations: 208.2 kB / 0.6573 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/0.1603, allocations: 0.5339 MB / 0.6578 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1603, allocations: 29.38 kB / 0.6578 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1604, allocations: 56.3 kB / 0.6579 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1615, allocations: 0.8485 MB / 0.6587 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1615, allocations: 3.938 kB / 0.6587 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.1616, allocations: 23.98 kB / 0.6587 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-05/0.1617, allocations: 68.95 kB / 0.6588 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.1625, allocations: 0.5656 MB / 0.6594 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.1668, allocations: 5.647 MB / 0.6649 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.1674, allocations: 458.3 kB / 0.6653 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.1678, allocations: 224.7 kB / 0.6655 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1678, allocations: 7.938 kB / 0.6655 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1678, allocations: 38.56 kB / 0.6656 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.1678, allocations: 0 / 0.6656 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002501/0.1704, allocations: 1.517 MB / 0.6671 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1704, allocations: 59.69 kB / 0.6671 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.1709, allocations: 0.4912 MB / 0.6676 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1709, allocations: 29.7 kB / 0.6676 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1712, allocations: 363.7 kB / 0.668 GB, free: 236 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.1713, allocations: 123 kB / 0.6681 GB, free: 112 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.1714, allocations: 114.2 kB / 0.6682 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1716, allocations: 362.7 kB / 0.6685 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1719, allocations: 197.2 kB / 0.6687 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.1724, allocations: 443.3 kB / 0.6691 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.1732, allocations: 0.6954 MB / 0.6698 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1732, allocations: 7.938 kB / 0.6698 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001275/0.1745, allocations: 0.8055 MB / 0.6706 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1745, allocations: 8 kB / 0.6706 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1745, allocations: 15.98 kB / 0.6706 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.175, allocations: 152.8 kB / 0.6708 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.1755, allocations: 127.7 kB / 0.6709 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.1788, allocations: 4.351 MB / 0.6752 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.1792, allocations: 35.97 kB / 0.6752 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.1793, allocations: 28.16 kB / 0.6752 GB, free: 8.098 MB / 0.5137 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.0002479/0.1795, allocations: 219.4 kB / 0.6754 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.1796, allocations: 59.62 kB / 0.6755 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.1806, allocations: 0.601 MB / 0.6761 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1806, allocations: 0 / 0.6761 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1807, allocations: 4 kB / 0.6761 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1807, allocations: 3.984 kB / 0.6761 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.1825, allocations: 1.251 MB / 0.6773 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1825, allocations: 0 / 0.6773 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.1828, allocations: 59.89 kB / 0.6774 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.1832, allocations: 148.3 kB / 0.6775 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1832, allocations: 11.94 kB / 0.6775 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.1863, allocations: 4.344 MB / 0.6818 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1864, allocations: 7.938 kB / 0.6818 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.1873, allocations: 0.7002 MB / 0.6824 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.1876, allocations: 176.6 kB / 0.6826 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.1877, allocations: 8 kB / 0.6826 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.1879, allocations: 23.97 kB / 0.6826 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.188, allocations: 35.84 kB / 0.6827 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.188, allocations: 8 kB / 0.6827 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003456/0.1884, allocations: 338.8 kB / 0.683 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1884, allocations: 0 / 0.683 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000622/0.189, allocations: 144 kB / 0.6832 GB, free: 15.35 MB / 0.5294 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.001267/0.1903, allocations: 1.262 MB / 0.6844 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.1917, allocations: 1.048 MB / 0.6854 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.1917, allocations: 4 kB / 0.6854 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008423/0.1926, allocations: 0.7348 MB / 0.6861 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.1936, allocations: 204.2 kB / 0.6863 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.1995, allocations: 5.115 MB / 0.6913 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2, allocations: 0.9058 MB / 0.6922 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003225/0.2003, allocations: 117.3 kB / 0.6923 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.2005, allocations: 195.4 kB / 0.6925 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2005, allocations: 4 kB / 0.6925 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.2379, allocations: 12.69 MB / 0.7049 GB, free: 8.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.36, allocations: 11.52 kB / 0.7049 GB, free: 8.66 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)