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.001276/0.001276, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.001267/0.001267, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8141/0.8141, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.69 kB / 0.5735 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1428, allocations: 78.87 MB / 0.6506 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008351/0.1512, allocations: 6.067 MB / 0.6565 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005294/0.1565, allocations: 3.149 MB / 0.6596 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.157, allocations: 31.81 kB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.1594, allocations: 0.9324 MB / 0.6605 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.1606, allocations: 469.5 kB / 0.6609 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1618, allocations: 482.8 kB / 0.6614 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1631, allocations: 1.1 MB / 0.6625 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.164, allocations: 0.6467 MB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.1646, allocations: 434.4 kB / 0.6635 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.1652, allocations: 470.2 kB / 0.664 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.539e-05/0.1653, allocations: 64 kB / 0.664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008578/0.1662, allocations: 487 kB / 0.6645 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.1665, allocations: 279.3 kB / 0.6648 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.1669, allocations: 401.9 kB / 0.6651 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.1683, allocations: 1.179 MB / 0.6663 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1683, allocations: 0 / 0.6663 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.006e-06/0.1683, allocations: 4 kB / 0.6663 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1684, allocations: 0 / 0.6663 GB, free: 3.387 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.001682/0.17, allocations: 1.076 MB / 0.6674 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1701, allocations: 12.02 kB / 0.6674 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.1702, allocations: 118.7 kB / 0.6675 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.1718, allocations: 220.1 kB / 0.6677 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009107/0.1727, allocations: 0.581 MB / 0.6683 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.1728, allocations: 49.67 kB / 0.6683 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1729, allocations: 76.28 kB / 0.6684 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.1744, allocations: 1.026 MB / 0.6694 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.1744, allocations: 11.88 kB / 0.6694 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/0.1745, allocations: 28.08 kB / 0.6694 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.1746, allocations: 73.27 kB / 0.6695 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1758, allocations: 0.6917 MB / 0.6702 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/0.1813, allocations: 5.741 MB / 0.6758 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009118/0.1823, allocations: 0.5982 MB / 0.6764 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008599/0.1831, allocations: 432.8 kB / 0.6768 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1832, allocations: 4 kB / 0.6768 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.1833, allocations: 50.28 kB / 0.6768 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.1833, allocations: 0 / 0.6768 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.00458/0.1878, allocations: 2.015 MB / 0.6788 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1879, allocations: 59.19 kB / 0.6788 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.1884, allocations: 458.7 kB / 0.6793 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.1885, allocations: 33.7 kB / 0.6793 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.1888, allocations: 392.1 kB / 0.6797 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1889, allocations: 158.7 kB / 0.6798 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.1891, allocations: 114.2 kB / 0.6799 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1893, allocations: 362.8 kB / 0.6803 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.1897, allocations: 241.2 kB / 0.6805 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.1903, allocations: 468.9 kB / 0.681 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1913, allocations: 0.7363 MB / 0.6817 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1913, allocations: 4 kB / 0.6817 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001942/0.1932, allocations: 1.047 MB / 0.6827 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1933, allocations: 8 kB / 0.6827 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1933, allocations: 11.94 kB / 0.6827 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.1943, allocations: 319.3 kB / 0.683 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.1947, allocations: 95.83 kB / 0.6831 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008252/0.2029, allocations: 7.475 MB / 0.6904 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2035, allocations: 32.02 kB / 0.6905 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.2035, allocations: 24 kB / 0.6905 GB, free: 9.004 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.0003826/0.2039, allocations: 245.6 kB / 0.6907 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.204, allocations: 63.56 kB / 0.6908 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.2058, allocations: 0.8883 MB / 0.6916 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2058, allocations: 11.94 kB / 0.6917 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2058, allocations: 4 kB / 0.6917 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2058, allocations: 3.984 kB / 0.6917 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.2087, allocations: 1.669 MB / 0.6933 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2087, allocations: 4.125 kB / 0.6933 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2089, allocations: 51.91 kB / 0.6933 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009597/0.2098, allocations: 303.3 kB / 0.6936 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2099, allocations: 12 kB / 0.6936 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007855/0.2177, allocations: 7.474 MB / 0.7009 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.2178, allocations: 7.938 kB / 0.701 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.2196, allocations: 0.9764 MB / 0.7019 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.2198, allocations: 180.7 kB / 0.7021 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.2199, allocations: 12 kB / 0.7021 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2202, allocations: 27.91 kB / 0.7021 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2203, allocations: 39.89 kB / 0.7022 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.2203, allocations: 12 kB / 0.7022 GB, free: 12.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003647/0.2207, allocations: 306.9 kB / 0.7025 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2207, allocations: 0 / 0.7025 GB, free: 11.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007535/0.2215, allocations: 200 kB / 0.7027 GB, free: 11.79 MB / 0.545 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.002139/0.2236, allocations: 1.549 MB / 0.7042 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.2256, allocations: 1.195 MB / 0.7053 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2256, allocations: 4.312 kB / 0.7053 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.2269, allocations: 0.8579 MB / 0.7062 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.2279, allocations: 204.1 kB / 0.7064 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/0.2362, allocations: 5.861 MB / 0.7121 GB, free: 1.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.2369, allocations: 0.9843 MB / 0.7131 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.2372, allocations: 97.17 kB / 0.7131 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.2375, allocations: 227.4 kB / 0.7134 GB, free: 308 kB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.2375, allocations: 0 / 0.7134 GB, free: 308 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.288, allocations: 15.27 MB / 0.7283 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.83, allocations: 2.5 kB / 0.7283 GB, free: 1.258 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)