Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001631/0.001631, allocations: 109 kB / 16.4 MB, free: 6.473 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.001835/0.001835, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8207/0.8207, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 62.55 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 77.93 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007976/0.1384, allocations: 6.078 MB / 0.65 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.1435, allocations: 3.137 MB / 0.6531 GB, free: 300 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.1441, allocations: 27.81 kB / 0.6531 GB, free: 272 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.1466, allocations: 0.9326 MB / 0.654 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1479, allocations: 489.5 kB / 0.6545 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1491, allocations: 490.8 kB / 0.6549 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1505, allocations: 1.104 MB / 0.656 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009824/0.1514, allocations: 0.643 MB / 0.6566 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.1522, allocations: 446.3 kB / 0.6571 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.1531, allocations: 470.2 kB / 0.6575 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.1533, allocations: 64 kB / 0.6576 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1544, allocations: 475 kB / 0.658 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.1549, allocations: 287.3 kB / 0.6583 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007119/0.1556, allocations: 401.9 kB / 0.6587 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.1577, allocations: 1.183 MB / 0.6598 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1577, allocations: 0 / 0.6598 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.1577, allocations: 0 / 0.6598 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.347e-05/0.1578, allocations: 0 / 0.6598 GB, free: 9.328 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002275/0.1601, allocations: 1.078 MB / 0.6609 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.1601, allocations: 8.625 kB / 0.6609 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.1603, allocations: 114.7 kB / 0.661 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.162, allocations: 228.1 kB / 0.6612 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.1632, allocations: 0.5849 MB / 0.6618 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.1632, allocations: 45.67 kB / 0.6618 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1634, allocations: 68.31 kB / 0.6619 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.165, allocations: 1.03 MB / 0.6629 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.165, allocations: 7.938 kB / 0.6629 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.1651, allocations: 31.97 kB / 0.6629 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.563e-05/0.1652, allocations: 69.27 kB / 0.663 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1663, allocations: 0.6957 MB / 0.6637 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.1715, allocations: 5.738 MB / 0.6693 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.1724, allocations: 0.6053 MB / 0.6699 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/0.1732, allocations: 434.2 kB / 0.6703 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1732, allocations: 4 kB / 0.6703 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1732, allocations: 46.5 kB / 0.6703 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 1.944e-06/0.1733, allocations: 0 / 0.6703 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004367/0.1776, allocations: 2.019 MB / 0.6723 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1777, allocations: 55.41 kB / 0.6724 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.1781, allocations: 458.7 kB / 0.6728 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.1782, allocations: 33.7 kB / 0.6728 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.1784, allocations: 396.1 kB / 0.6732 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1786, allocations: 162.7 kB / 0.6734 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.1787, allocations: 110.3 kB / 0.6735 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1789, allocations: 362.8 kB / 0.6738 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.1792, allocations: 237.2 kB / 0.6741 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.1797, allocations: 464.9 kB / 0.6745 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/0.1806, allocations: 0.7478 MB / 0.6752 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1806, allocations: 8 kB / 0.6752 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001792/0.1824, allocations: 1.047 MB / 0.6763 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1825, allocations: 8 kB / 0.6763 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1825, allocations: 11.94 kB / 0.6763 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.1835, allocations: 319.4 kB / 0.6766 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1839, allocations: 99.81 kB / 0.6767 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007009/0.1909, allocations: 7.474 MB / 0.684 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.1913, allocations: 28.17 kB / 0.684 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.1914, allocations: 24 kB / 0.684 GB, free: 14.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003164/0.1917, allocations: 245.6 kB / 0.6843 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1918, allocations: 67.59 kB / 0.6843 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.1935, allocations: 0.8921 MB / 0.6852 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1935, allocations: 4 kB / 0.6852 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1935, allocations: 4 kB / 0.6852 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1935, allocations: 4 kB / 0.6852 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.1961, allocations: 1.669 MB / 0.6868 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1962, allocations: 3.938 kB / 0.6868 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.1963, allocations: 44.19 kB / 0.6869 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008869/0.1972, allocations: 311.2 kB / 0.6872 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1973, allocations: 12 kB / 0.6872 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006696/0.204, allocations: 7.459 MB / 0.6945 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.204, allocations: 15.88 kB / 0.6945 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.2056, allocations: 0.9764 MB / 0.6954 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.2059, allocations: 184.7 kB / 0.6956 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.206, allocations: 8 kB / 0.6956 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.2063, allocations: 27.86 kB / 0.6957 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2064, allocations: 39.94 kB / 0.6957 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.2064, allocations: 16 kB / 0.6957 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003209/0.2068, allocations: 302.9 kB / 0.696 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2068, allocations: 0 / 0.696 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007482/0.2075, allocations: 200 kB / 0.6962 GB, free: 1.719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.2094, allocations: 1.56 MB / 0.6977 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.2113, allocations: 1.199 MB / 0.6989 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2113, allocations: 4.125 kB / 0.6989 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.2125, allocations: 0.8541 MB / 0.6997 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.2134, allocations: 193.5 kB / 0.6999 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.2209, allocations: 5.858 MB / 0.7056 GB, free: 7.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.2215, allocations: 0.9881 MB / 0.7066 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.2218, allocations: 93.19 kB / 0.7067 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.222, allocations: 227.4 kB / 0.7069 GB, free: 6.242 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.222, allocations: 0 / 0.7069 GB, free: 6.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.2647, allocations: 15.26 MB / 0.7218 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/10.05, allocations: 9.453 kB / 0.7218 GB, free: 7.203 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)