Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",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.001212/0.001212, allocations: 108.6 kB / 16.41 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.001255/0.001255, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8029/0.8029, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 70.77 kB / 0.5726 GB, free: 27.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1329, allocations: 78.7 MB / 0.6494 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.008895/0.1419, allocations: 6.278 MB / 0.6556 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007392/0.1493, allocations: 4.526 MB / 0.66 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.1501, allocations: 27.81 kB / 0.66 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.1528, allocations: 0.9122 MB / 0.6609 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.1553, allocations: 0.7922 MB / 0.6617 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.1562, allocations: 326.4 kB / 0.662 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1581, allocations: 1.144 MB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.1592, allocations: 0.6888 MB / 0.6638 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.1601, allocations: 482.3 kB / 0.6642 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1612, allocations: 498.1 kB / 0.6647 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.1615, allocations: 68 kB / 0.6648 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007365/0.1622, allocations: 279.5 kB / 0.665 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.1626, allocations: 251.2 kB / 0.6653 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.1632, allocations: 413.9 kB / 0.6657 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.1646, allocations: 1.074 MB / 0.6667 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1646, allocations: 0 / 0.6667 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1646, allocations: 0 / 0.6667 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.346e-05/0.1647, allocations: 0 / 0.6667 GB, free: 2.871 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002656/0.1673, allocations: 1.121 MB / 0.6678 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1674, allocations: 11.97 kB / 0.6678 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.1676, allocations: 102.7 kB / 0.6679 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.1708, allocations: 0.6402 MB / 0.6686 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1719, allocations: 0.5663 MB / 0.6691 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.1719, allocations: 41.67 kB / 0.6691 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.172, allocations: 63.92 kB / 0.6692 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.1741, allocations: 1.018 MB / 0.6702 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1741, allocations: 0 / 0.6702 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.709e-05/0.1742, allocations: 27.91 kB / 0.6702 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/0.1743, allocations: 45.23 kB / 0.6703 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.1768, allocations: 1.008 MB / 0.6713 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.1815, allocations: 3.49 MB / 0.6747 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.183, allocations: 0.4905 MB / 0.6751 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.1836, allocations: 228.7 kB / 0.6754 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1837, allocations: 11.97 kB / 0.6754 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1837, allocations: 38.56 kB / 0.6754 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.1837, allocations: 0 / 0.6754 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006823/0.1905, allocations: 2.026 MB / 0.6774 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1906, allocations: 59.41 kB / 0.6774 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.1913, allocations: 0.5666 MB / 0.678 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.1914, allocations: 33.7 kB / 0.678 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.1916, allocations: 364.8 kB / 0.6784 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1918, allocations: 158.6 kB / 0.6785 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.1919, allocations: 94.2 kB / 0.6786 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1921, allocations: 370.7 kB / 0.679 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.1928, allocations: 262.9 kB / 0.6792 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/0.1936, allocations: 361.8 kB / 0.6796 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.195, allocations: 0.6187 MB / 0.6802 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.195, allocations: 0 / 0.6802 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002478/0.1975, allocations: 0.9316 MB / 0.6811 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1975, allocations: 13.86 kB / 0.6811 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1975, allocations: 4 kB / 0.6811 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.1987, allocations: 277.2 kB / 0.6814 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.1993, allocations: 111.8 kB / 0.6815 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007695/0.207, allocations: 9.11 MB / 0.6904 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.2077, allocations: 43.94 kB / 0.6904 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.2077, allocations: 23.94 kB / 0.6904 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009427/0.2087, allocations: 437.1 kB / 0.6908 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007361/0.2094, allocations: 357.4 kB / 0.6912 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/0.2109, allocations: 0.6168 MB / 0.6918 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.2109, allocations: 0 / 0.6918 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00255/0.2135, allocations: 1.121 MB / 0.6929 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2135, allocations: 7.938 kB / 0.6929 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2135, allocations: 4 kB / 0.6929 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/0.2143, allocations: 229 kB / 0.6931 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.2149, allocations: 119.8 kB / 0.6932 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/0.2211, allocations: 8.797 MB / 0.7018 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.2218, allocations: 43.95 kB / 0.7019 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.2218, allocations: 24.06 kB / 0.7019 GB, free: 12.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.222, allocations: 212.1 kB / 0.7021 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2222, allocations: 71.53 kB / 0.7022 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.2224, allocations: 82.36 kB / 0.7022 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2224, allocations: 8 kB / 0.7022 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2224, allocations: 4 kB / 0.7022 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2224, allocations: 0 / 0.7022 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008252/0.2233, allocations: 0.6416 MB / 0.7029 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2233, allocations: 3.938 kB / 0.7029 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.2237, allocations: 87.86 kB / 0.703 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009352/0.2247, allocations: 260.9 kB / 0.7032 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.2247, allocations: 11.98 kB / 0.7032 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006547/0.2313, allocations: 9.062 MB / 0.7121 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2313, allocations: 0 / 0.7121 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.2336, allocations: 0.9214 MB / 0.713 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.2339, allocations: 192.6 kB / 0.7132 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.234, allocations: 8 kB / 0.7132 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.2345, allocations: 43.95 kB / 0.7132 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2346, allocations: 35.95 kB / 0.7132 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.2347, allocations: 11.98 kB / 0.7132 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004716/0.2352, allocations: 403.1 kB / 0.7136 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.2352, allocations: 0 / 0.7136 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001077/0.2362, allocations: 304 kB / 0.7139 GB, free: 15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/0.2387, allocations: 1.47 MB / 0.7154 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.2424, allocations: 2.364 MB / 0.7177 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2425, allocations: 3.938 kB / 0.7177 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.2439, allocations: 1.004 MB / 0.7187 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.2451, allocations: 231.8 kB / 0.7189 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.2559, allocations: 6.193 MB / 0.7249 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.2565, allocations: 0.9781 MB / 0.7259 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00054/0.2571, allocations: 157.4 kB / 0.726 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.2574, allocations: 239.3 kB / 0.7263 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2574, allocations: 4 kB / 0.7263 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3802/0.6376, allocations: 19.82 MB / 0.7456 GB, free: 88.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.09, allocations: 2.031 kB / 0.7456 GB, free: 88.46 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine_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_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)