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.0009742/0.0009743, allocations: 104.4 kB / 16.4 MB, free: 6.48 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.00105/0.00105, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6859/0.6859, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 57.47 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 77.94 MB / 0.644 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.00748/0.1254, allocations: 6.258 MB / 0.6502 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.1313, allocations: 4.546 MB / 0.6546 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.1318, allocations: 23.88 kB / 0.6546 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.1341, allocations: 0.9122 MB / 0.6555 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.1358, allocations: 0.7757 MB / 0.6563 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.1365, allocations: 322.2 kB / 0.6566 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1379, allocations: 1.136 MB / 0.6577 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009331/0.1388, allocations: 0.6927 MB / 0.6584 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/0.1395, allocations: 470.3 kB / 0.6588 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/0.1404, allocations: 498.1 kB / 0.6593 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1405, allocations: 68 kB / 0.6593 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.1411, allocations: 283.5 kB / 0.6596 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.1414, allocations: 251.2 kB / 0.6599 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.1418, allocations: 413.9 kB / 0.6602 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1429, allocations: 1.075 MB / 0.6613 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1429, allocations: 0 / 0.6613 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1429, allocations: 0 / 0.6613 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.1429, allocations: 0 / 0.6613 GB, free: 7.844 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.001844/0.1448, allocations: 1.087 MB / 0.6624 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1448, allocations: 12.56 kB / 0.6624 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.1449, allocations: 106.6 kB / 0.6625 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.148, allocations: 0.628 MB / 0.6631 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.1489, allocations: 0.5737 MB / 0.6636 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.149, allocations: 41.67 kB / 0.6637 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.1491, allocations: 51.94 kB / 0.6637 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1509, allocations: 1.018 MB / 0.6647 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1509, allocations: 4 kB / 0.6647 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.151, allocations: 27.98 kB / 0.6648 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.1511, allocations: 45.28 kB / 0.6648 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.1534, allocations: 1.008 MB / 0.6658 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.1573, allocations: 3.478 MB / 0.6692 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.1587, allocations: 0.4965 MB / 0.6697 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.1592, allocations: 224.6 kB / 0.6699 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1593, allocations: 15.98 kB / 0.6699 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1593, allocations: 34.56 kB / 0.6699 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.1593, allocations: 0 / 0.6699 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006515/0.1658, allocations: 2.017 MB / 0.6719 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1659, allocations: 59.41 kB / 0.672 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.1665, allocations: 0.5704 MB / 0.6725 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.1666, allocations: 29.7 kB / 0.6725 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.1668, allocations: 360.2 kB / 0.6729 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1669, allocations: 145.8 kB / 0.673 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1671, allocations: 94.16 kB / 0.6731 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1672, allocations: 374.7 kB / 0.6735 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/0.1679, allocations: 262.9 kB / 0.6737 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/0.1686, allocations: 357.8 kB / 0.6741 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.17, allocations: 0.6226 MB / 0.6747 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.17, allocations: 0 / 0.6747 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002283/0.1723, allocations: 0.931 MB / 0.6756 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1723, allocations: 4 kB / 0.6756 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1723, allocations: 4 kB / 0.6756 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.1733, allocations: 277.2 kB / 0.6759 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.1739, allocations: 111.8 kB / 0.676 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.1809, allocations: 9.128 MB / 0.6849 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.1814, allocations: 44.02 kB / 0.6849 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.1815, allocations: 27.92 kB / 0.6849 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008312/0.1823, allocations: 433.9 kB / 0.6854 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000708/0.183, allocations: 361.4 kB / 0.6857 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001294/0.1843, allocations: 0.609 MB / 0.6863 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.1844, allocations: 4 kB / 0.6863 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002291/0.1866, allocations: 1.114 MB / 0.6874 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1867, allocations: 11.94 kB / 0.6874 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1867, allocations: 0 / 0.6874 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007188/0.1874, allocations: 224.9 kB / 0.6876 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.188, allocations: 115.8 kB / 0.6877 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.1941, allocations: 8.791 MB / 0.6963 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.1947, allocations: 43.94 kB / 0.6964 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.1947, allocations: 23.94 kB / 0.6964 GB, free: 1.348 MB / 0.5294 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.0002082/0.1949, allocations: 216.1 kB / 0.6966 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1951, allocations: 67.16 kB / 0.6966 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.1952, allocations: 74.38 kB / 0.6967 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1953, allocations: 8 kB / 0.6967 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.1953, allocations: 0 / 0.6967 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1953, allocations: 7.984 kB / 0.6967 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/0.1961, allocations: 0.6494 MB / 0.6974 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1961, allocations: 4 kB / 0.6974 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.1966, allocations: 79.86 kB / 0.6974 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009145/0.1975, allocations: 256.9 kB / 0.6977 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.1976, allocations: 19.92 kB / 0.6977 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006569/0.2042, allocations: 9.058 MB / 0.7066 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2042, allocations: 0 / 0.7066 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.2063, allocations: 0.9286 MB / 0.7075 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.2066, allocations: 180.3 kB / 0.7076 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.2066, allocations: 12 kB / 0.7076 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.2071, allocations: 39.94 kB / 0.7077 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2072, allocations: 35.95 kB / 0.7077 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2073, allocations: 15.98 kB / 0.7077 GB, free: 4.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004733/0.2077, allocations: 403.1 kB / 0.7081 GB, free: 4.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2077, allocations: 0 / 0.7081 GB, free: 4.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009634/0.2087, allocations: 304 kB / 0.7084 GB, free: 4.059 MB / 0.545 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.002355/0.2111, allocations: 1.473 MB / 0.7098 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003501/0.2146, allocations: 2.36 MB / 0.7121 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2146, allocations: 0 / 0.7121 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.2159, allocations: 0.9999 MB / 0.7131 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008922/0.2168, allocations: 228 kB / 0.7133 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/0.2265, allocations: 6.164 MB / 0.7194 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.2271, allocations: 0.9858 MB / 0.7203 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.2276, allocations: 149.4 kB / 0.7205 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.2279, allocations: 243.4 kB / 0.7207 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of SimCode: time 1.824e-06/0.2279, allocations: 0 / 0.7207 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/0.2841, allocations: 19.81 MB / 0.74 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.56, allocations: 10.59 kB / 0.7401 GB, free: 3.422 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)