Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",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.001845/0.001845, allocations: 105.8 kB / 16.4 MB, free: 6.449 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.002132/0.002132, allocations: 191.9 kB / 17.34 MB, free: 5.734 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.427/1.427, 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.8234/0.8234, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.47 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1498, allocations: 78.86 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005656/0.1555, allocations: 3.839 MB / 0.6543 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.1583, allocations: 1.78 MB / 0.656 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1585, allocations: 4 kB / 0.656 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.1599, allocations: 454.2 kB / 0.6565 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.1605, allocations: 234.8 kB / 0.6567 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.1611, allocations: 255.5 kB / 0.6569 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.1617, allocations: 0.4906 MB / 0.6574 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000699/0.1624, allocations: 369.1 kB / 0.6578 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.1627, allocations: 199.3 kB / 0.6579 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.1631, allocations: 227.2 kB / 0.6582 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.1632, allocations: 28 kB / 0.6582 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.1635, allocations: 191.5 kB / 0.6584 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.1637, allocations: 131.6 kB / 0.6585 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.1639, allocations: 183 kB / 0.6587 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.1645, allocations: 0.4903 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1646, allocations: 4 kB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1646, allocations: 0 / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1646, allocations: 0 / 0.6592 GB, free: 10.75 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001236/0.1658, allocations: 0.666 MB / 0.6598 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1659, allocations: 12.03 kB / 0.6598 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.215e-05/0.166, allocations: 74.72 kB / 0.6599 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.1665, allocations: 84.64 kB / 0.66 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.167, allocations: 296.3 kB / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.167, allocations: 28.95 kB / 0.6603 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.167, allocations: 28.38 kB / 0.6603 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/0.1679, allocations: 485.8 kB / 0.6608 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1679, allocations: 3.938 kB / 0.6608 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.168, allocations: 15.98 kB / 0.6608 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-05/0.168, allocations: 44.62 kB / 0.6608 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1688, allocations: 362.2 kB / 0.6612 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1711, allocations: 2.037 MB / 0.6632 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.1717, allocations: 210.7 kB / 0.6634 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.1721, allocations: 156.8 kB / 0.6635 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1722, allocations: 7.984 kB / 0.6635 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1722, allocations: 38.5 kB / 0.6636 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.1722, allocations: 0 / 0.6636 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001123/0.1733, allocations: 421.2 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1734, allocations: 51.41 kB / 0.664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1737, allocations: 262.7 kB / 0.6643 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1737, allocations: 37.7 kB / 0.6643 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1739, allocations: 216.1 kB / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.1739, allocations: 67.44 kB / 0.6646 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.174, allocations: 57.94 kB / 0.6646 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1742, allocations: 338.8 kB / 0.6649 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.1745, allocations: 101.8 kB / 0.665 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1748, allocations: 207.6 kB / 0.6652 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.1754, allocations: 315.2 kB / 0.6655 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1755, allocations: 4 kB / 0.6655 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008035/0.1763, allocations: 350 kB / 0.6659 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1763, allocations: 8 kB / 0.6659 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1763, allocations: 4 kB / 0.6659 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.1765, allocations: 37.23 kB / 0.6659 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.1768, allocations: 75.77 kB / 0.666 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1784, allocations: 1.426 MB / 0.6674 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.1787, allocations: 39.77 kB / 0.6674 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.1787, allocations: 24.08 kB / 0.6675 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003887/0.1791, allocations: 212.6 kB / 0.6677 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003671/0.1795, allocations: 213 kB / 0.6679 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005997/0.1801, allocations: 313.9 kB / 0.6682 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.1801, allocations: 7.984 kB / 0.6682 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007193/0.1808, allocations: 333.4 kB / 0.6685 GB, free: 408 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1808, allocations: 10.19 kB / 0.6685 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1809, allocations: 4 kB / 0.6685 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.1809, allocations: 8.047 kB / 0.6685 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.1812, allocations: 79.81 kB / 0.6686 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1812, allocations: 4 kB / 0.6686 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.1814, allocations: 43.75 kB / 0.6686 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1815, allocations: 12 kB / 0.6686 GB, free: 248 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.1816, allocations: 200.2 kB / 0.6688 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.1817, allocations: 27.86 kB / 0.6689 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.1818, allocations: 30.17 kB / 0.6689 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.1818, allocations: 4 kB / 0.6689 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1818, allocations: 4 kB / 0.6689 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1818, allocations: 0 / 0.6689 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.1831, allocations: 0.7576 MB / 0.6696 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1831, allocations: 0 / 0.6696 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.1833, allocations: 43.91 kB / 0.6697 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.1834, allocations: 28.91 kB / 0.6697 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1835, allocations: 4 kB / 0.6697 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.1847, allocations: 1.414 MB / 0.6711 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1847, allocations: 7.969 kB / 0.6711 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.1854, allocations: 365.8 kB / 0.6714 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1855, allocations: 124.8 kB / 0.6716 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1856, allocations: 4 kB / 0.6716 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1858, allocations: 15.98 kB / 0.6716 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1858, allocations: 31.84 kB / 0.6716 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1858, allocations: 4 kB / 0.6716 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002391/0.1861, allocations: 182 kB / 0.6718 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1861, allocations: 0 / 0.6718 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006022/0.1867, allocations: 151.6 kB / 0.6719 GB, free: 12.59 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.1877, allocations: 0.8998 MB / 0.6728 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.1889, allocations: 494.4 kB / 0.6733 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1889, allocations: 0 / 0.6733 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.1893, allocations: 218.5 kB / 0.6735 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1898, allocations: 82.72 kB / 0.6736 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.1939, allocations: 2.89 MB / 0.6764 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.1944, allocations: 0.7957 MB / 0.6772 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.1946, allocations: 70.3 kB / 0.6772 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.1948, allocations: 91.41 kB / 0.6773 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.1948, allocations: 4 kB / 0.6773 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.2272, allocations: 6.317 MB / 0.6835 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.92, allocations: 12.5 kB / 0.6835 GB, free: 0.6094 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad_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_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)