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.001198/0.001198, allocations: 104.9 kB / 16.4 MB, free: 6.504 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.001232/0.001232, 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7718/0.7718, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.56 kB / 0.5679 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 77.94 MB / 0.644 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005973/0.1577, allocations: 3.828 MB / 0.6478 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1606, allocations: 1.769 MB / 0.6495 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.161, allocations: 15.94 kB / 0.6495 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.1625, allocations: 446.2 kB / 0.65 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.1632, allocations: 250.8 kB / 0.6502 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.1639, allocations: 249.5 kB / 0.6504 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.1646, allocations: 0.4945 MB / 0.6509 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1652, allocations: 365.1 kB / 0.6513 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.1656, allocations: 195.3 kB / 0.6514 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.1662, allocations: 243.1 kB / 0.6517 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.1663, allocations: 28 kB / 0.6517 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.1667, allocations: 183.6 kB / 0.6519 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1669, allocations: 131.6 kB / 0.652 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1672, allocations: 179.1 kB / 0.6522 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.168, allocations: 494.2 kB / 0.6527 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.168, allocations: 3.938 kB / 0.6527 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.168, allocations: 0 / 0.6527 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.1681, allocations: 0 / 0.6527 GB, free: 0.6953 MB / 494.1 MB 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.001671/0.1698, allocations: 0.6783 MB / 0.6533 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1698, allocations: 12.62 kB / 0.6533 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.1699, allocations: 70.61 kB / 0.6534 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005854/0.1705, allocations: 88.64 kB / 0.6535 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1709, allocations: 307.7 kB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.171, allocations: 21.03 kB / 0.6538 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.171, allocations: 31.73 kB / 0.6538 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.1718, allocations: 481.8 kB / 0.6543 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1719, allocations: 3.938 kB / 0.6543 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.1719, allocations: 15.98 kB / 0.6543 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.172, allocations: 36.64 kB / 0.6543 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.1728, allocations: 370.3 kB / 0.6547 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1749, allocations: 2.033 MB / 0.6567 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.1755, allocations: 218.8 kB / 0.6569 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.1759, allocations: 152.8 kB / 0.657 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1759, allocations: 0 / 0.657 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.176, allocations: 42.56 kB / 0.6571 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.085e-06/0.176, allocations: 0 / 0.6571 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001071/0.1771, allocations: 421 kB / 0.6575 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1771, allocations: 55.34 kB / 0.6575 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1773, allocations: 262.7 kB / 0.6578 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1774, allocations: 33.7 kB / 0.6578 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1775, allocations: 216.2 kB / 0.658 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1776, allocations: 67.44 kB / 0.6581 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.1777, allocations: 57.94 kB / 0.6581 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1778, allocations: 338.8 kB / 0.6585 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.178, allocations: 97.84 kB / 0.6585 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.1783, allocations: 207.6 kB / 0.6587 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.1789, allocations: 312.8 kB / 0.659 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1789, allocations: 0 / 0.659 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000761/0.1797, allocations: 362.1 kB / 0.6594 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1797, allocations: 4 kB / 0.6594 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1797, allocations: 11.92 kB / 0.6594 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.1799, allocations: 36.83 kB / 0.6594 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1802, allocations: 63.89 kB / 0.6595 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1814, allocations: 1.438 MB / 0.6609 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1817, allocations: 43.75 kB / 0.6609 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1818, allocations: 12 kB / 0.661 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003497/0.1821, allocations: 216.5 kB / 0.6612 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002973/0.1824, allocations: 217.6 kB / 0.6614 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005186/0.183, allocations: 325.9 kB / 0.6617 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.183, allocations: 0 / 0.6617 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.00071/0.1837, allocations: 337 kB / 0.662 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.1837, allocations: 4 kB / 0.662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1837, allocations: 4 kB / 0.662 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.1837, allocations: 8.047 kB / 0.662 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.184, allocations: 76.38 kB / 0.6621 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1841, allocations: 11.94 kB / 0.6621 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1843, allocations: 35.8 kB / 0.6621 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1843, allocations: 16 kB / 0.6622 GB, free: 6.172 MB / 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.0001346/0.1845, allocations: 201 kB / 0.6623 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.1845, allocations: 23.86 kB / 0.6624 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.1846, allocations: 30.17 kB / 0.6624 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1846, allocations: 8 kB / 0.6624 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1846, allocations: 0 / 0.6624 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1847, allocations: 0 / 0.6624 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1859, allocations: 0.7593 MB / 0.6631 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1859, allocations: 4 kB / 0.6632 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.1861, allocations: 35.97 kB / 0.6632 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.1862, allocations: 28.78 kB / 0.6632 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1862, allocations: 3.938 kB / 0.6632 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009805/0.1872, allocations: 1.418 MB / 0.6646 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1873, allocations: 0 / 0.6646 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.1879, allocations: 377.6 kB / 0.665 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.188, allocations: 120.9 kB / 0.6651 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.188, allocations: 0 / 0.6651 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1882, allocations: 19.97 kB / 0.6651 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.1883, allocations: 23.86 kB / 0.6651 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1883, allocations: 8 kB / 0.6651 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001573/0.1885, allocations: 186 kB / 0.6653 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1885, allocations: 0 / 0.6653 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005699/0.1891, allocations: 151.6 kB / 0.6654 GB, free: 2.527 MB / 0.4981 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.0008867/0.19, allocations: 0.9025 MB / 0.6663 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.1911, allocations: 498.3 kB / 0.6668 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1911, allocations: 1.562 kB / 0.6668 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.1914, allocations: 226.7 kB / 0.667 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.1919, allocations: 60.89 kB / 0.6671 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.1957, allocations: 2.893 MB / 0.6699 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1961, allocations: 0.7996 MB / 0.6707 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.1963, allocations: 74.3 kB / 0.6708 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.1964, allocations: 87.41 kB / 0.6708 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1965, allocations: 0 / 0.6708 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.223, allocations: 6.332 MB / 0.677 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.36, allocations: 12.05 kB / 0.677 GB, free: 6.543 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)