Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",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.001476/0.001476, allocations: 108 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.001717/0.001717, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.315/1.315, 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.7603/0.7603, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.02 kB / 0.5679 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1466, allocations: 77.93 MB / 0.644 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005722/0.1524, allocations: 4.077 MB / 0.648 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.155, allocations: 1.593 MB / 0.6496 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.1553, allocations: 11.94 kB / 0.6496 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.1569, allocations: 0.5903 MB / 0.6502 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000666/0.1576, allocations: 230.8 kB / 0.6504 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.1583, allocations: 215.5 kB / 0.6506 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.1591, allocations: 0.549 MB / 0.6511 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008775/0.16, allocations: 478 kB / 0.6516 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.1604, allocations: 227.3 kB / 0.6518 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.1609, allocations: 251 kB / 0.652 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.685e-05/0.161, allocations: 36 kB / 0.6521 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.1614, allocations: 167.7 kB / 0.6522 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1616, allocations: 151.6 kB / 0.6524 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.1619, allocations: 199.1 kB / 0.6526 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.1627, allocations: 0.5215 MB / 0.6531 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1627, allocations: 0 / 0.6531 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1627, allocations: 4 kB / 0.6531 GB, free: 288 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1627, allocations: 0 / 0.6531 GB, free: 288 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001636/0.1643, allocations: 0.6859 MB / 0.6538 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.1644, allocations: 12.62 kB / 0.6538 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.1645, allocations: 82.7 kB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/0.1654, allocations: 104.6 kB / 0.6539 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.1659, allocations: 311.7 kB / 0.6542 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.166, allocations: 55.27 kB / 0.6543 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.1661, allocations: 32.38 kB / 0.6543 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.1669, allocations: 0.5007 MB / 0.6548 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1669, allocations: 3.938 kB / 0.6548 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.167, allocations: 16 kB / 0.6548 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.167, allocations: 28.98 kB / 0.6549 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.1677, allocations: 383.7 kB / 0.6552 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.1703, allocations: 2.208 MB / 0.6574 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.171, allocations: 258.7 kB / 0.6576 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.1714, allocations: 152.7 kB / 0.6578 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1714, allocations: 7.938 kB / 0.6578 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1715, allocations: 34.56 kB / 0.6578 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.1715, allocations: 4 kB / 0.6578 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.00152/0.173, allocations: 0.5681 MB / 0.6584 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.173, allocations: 55.41 kB / 0.6584 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1733, allocations: 221 kB / 0.6586 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1733, allocations: 33.7 kB / 0.6587 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1734, allocations: 212.2 kB / 0.6589 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.1735, allocations: 75.36 kB / 0.6589 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1736, allocations: 57.66 kB / 0.659 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1737, allocations: 326.8 kB / 0.6593 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1739, allocations: 100.8 kB / 0.6594 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1742, allocations: 191 kB / 0.6596 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.1747, allocations: 271.6 kB / 0.6598 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1747, allocations: 3.938 kB / 0.6598 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008732/0.1756, allocations: 375.1 kB / 0.6602 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1756, allocations: 4 kB / 0.6602 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1756, allocations: 4 kB / 0.6602 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.1762, allocations: 113.6 kB / 0.6603 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1764, allocations: 51.84 kB / 0.6604 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.1796, allocations: 3.051 MB / 0.6634 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.1799, allocations: 35.77 kB / 0.6634 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1799, allocations: 8 kB / 0.6634 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003254/0.1803, allocations: 224.1 kB / 0.6636 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002657/0.1806, allocations: 175 kB / 0.6638 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004615/0.181, allocations: 272.7 kB / 0.664 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-06/0.181, allocations: 7.938 kB / 0.664 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008289/0.1819, allocations: 350 kB / 0.6644 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.1819, allocations: 4 kB / 0.6644 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1819, allocations: 4 kB / 0.6644 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.1822, allocations: 81.03 kB / 0.6645 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1825, allocations: 55.91 kB / 0.6645 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.1844, allocations: 1.619 MB / 0.6661 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1847, allocations: 31.77 kB / 0.6661 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1847, allocations: 16 kB / 0.6661 GB, free: 1.832 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.1849, allocations: 201.9 kB / 0.6663 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.1849, allocations: 23.86 kB / 0.6664 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.185, allocations: 30.17 kB / 0.6664 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.185, allocations: 4 kB / 0.6664 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.185, allocations: 3.938 kB / 0.6664 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.185, allocations: 0 / 0.6664 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1864, allocations: 0.8231 MB / 0.6672 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1864, allocations: 4 kB / 0.6672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1866, allocations: 35.92 kB / 0.6672 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.187, allocations: 105.7 kB / 0.6673 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.187, allocations: 7.984 kB / 0.6673 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.1899, allocations: 3.023 MB / 0.6703 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1899, allocations: 160 / 0.6703 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.1906, allocations: 424.8 kB / 0.6707 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1908, allocations: 116.9 kB / 0.6708 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1908, allocations: 8 kB / 0.6708 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.191, allocations: 8 kB / 0.6708 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.1911, allocations: 19.97 kB / 0.6708 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1911, allocations: 4 kB / 0.6708 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001327/0.1912, allocations: 164.5 kB / 0.671 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1912, allocations: 0 / 0.671 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006009/0.1918, allocations: 175.6 kB / 0.6712 GB, free: 12.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009932/0.1928, allocations: 0.9419 MB / 0.6721 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.1949, allocations: 0.7647 MB / 0.6728 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1949, allocations: 0 / 0.6728 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.1957, allocations: 383.2 kB / 0.6732 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.1962, allocations: 60.58 kB / 0.6733 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.2006, allocations: 2.852 MB / 0.676 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.201, allocations: 0.8184 MB / 0.6768 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.2012, allocations: 54.25 kB / 0.6769 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2014, allocations: 91.41 kB / 0.677 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.2014, allocations: 0 / 0.677 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.2312, allocations: 7.349 MB / 0.6842 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 7.578 kB / 0.6842 GB, free: 14.81 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad_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_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)