Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.005565/0.005565, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001339/0.001339, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8084/0.8084, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.06 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1561, allocations: 82.03 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002436/0.1586, allocations: 1.287 MB / 0.6764 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1597, allocations: 0.5919 MB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.1597, allocations: 0 / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1598, allocations: 4 kB / 0.677 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.1598, allocations: 7.922 kB / 0.677 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.1605, allocations: 146.6 kB / 0.6771 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.1606, allocations: 19.86 kB / 0.6772 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1606, allocations: 4 kB / 0.6772 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.1607, allocations: 8 kB / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.1607, allocations: 19.91 kB / 0.6772 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1608, allocations: 3.938 kB / 0.6772 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.1613, allocations: 343.3 kB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.1613, allocations: 0 / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1613, allocations: 15.92 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1616, allocations: 147.8 kB / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1616, allocations: 0 / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1616, allocations: 0 / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1616, allocations: 0 / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004217/0.1621, allocations: 367 kB / 0.678 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1621, allocations: 12.03 kB / 0.678 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.1621, allocations: 30.75 kB / 0.6781 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1622, allocations: 4.922 kB / 0.6781 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1623, allocations: 168.3 kB / 0.6782 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1623, allocations: 384 / 0.6782 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1623, allocations: 384 / 0.6782 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1624, allocations: 46.25 kB / 0.6783 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1624, allocations: 3.938 kB / 0.6783 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1625, allocations: 0 / 0.6783 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1625, allocations: 4 kB / 0.6783 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.1625, allocations: 16 kB / 0.6783 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.1629, allocations: 256.9 kB / 0.6786 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1631, allocations: 54.5 kB / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.1631, allocations: 12.86 kB / 0.6786 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1632, allocations: 7.984 kB / 0.6786 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1632, allocations: 34.56 kB / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1632, allocations: 0 / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.1634, allocations: 61.62 kB / 0.6787 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1634, allocations: 51.41 kB / 0.6788 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.1635, allocations: 97.84 kB / 0.6789 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1635, allocations: 25.7 kB / 0.6789 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.1635, allocations: 84.14 kB / 0.679 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1636, allocations: 23.83 kB / 0.679 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.1636, allocations: 21.7 kB / 0.679 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1637, allocations: 310.8 kB / 0.6793 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.1637, allocations: 11.94 kB / 0.6793 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.1638, allocations: 17.7 kB / 0.6793 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.1638, allocations: 33.72 kB / 0.6794 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1638, allocations: 3.938 kB / 0.6794 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.958e-05/0.1639, allocations: 69.58 kB / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1639, allocations: 5.719 kB / 0.6794 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.164, allocations: 0 / 0.6794 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.164, allocations: 7.938 kB / 0.6794 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.164, allocations: 4 kB / 0.6794 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.164, allocations: 7.938 kB / 0.6795 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.1641, allocations: 3.984 kB / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1641, allocations: 0 / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.1642, allocations: 118.5 kB / 0.6796 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1642, allocations: 4 kB / 0.6796 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1643, allocations: 57.19 kB / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1643, allocations: 0 / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1644, allocations: 0 / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1644, allocations: 3.984 kB / 0.6796 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1645, allocations: 161.6 kB / 0.6798 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1645, allocations: 3.984 kB / 0.6798 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.1646, allocations: 7.938 kB / 0.6798 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.1646, allocations: 0 / 0.6798 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1646, allocations: 8 kB / 0.6798 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1646, allocations: 0 / 0.6798 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1646, allocations: 0 / 0.6798 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.1647, allocations: 148 kB / 0.6799 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.1647, allocations: 77.11 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1648, allocations: 0 / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.146e-05/0.1648, allocations: 128 / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.1648, allocations: 11.98 kB / 0.68 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1649, allocations: 4 kB / 0.68 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.1649, allocations: 87.31 kB / 0.6801 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1649, allocations: 0 / 0.6801 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002613/0.1652, allocations: 19.88 kB / 0.6801 GB, free: 5.402 MB / 0.5137 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004181/0.1656, allocations: 0.7044 MB / 0.6808 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.1657, allocations: 24 kB / 0.6809 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1657, allocations: 0 / 0.6809 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.1657, allocations: 23.86 kB / 0.6809 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1659, allocations: 0 / 0.6809 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1664, allocations: 160 kB / 0.681 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1666, allocations: 0.6807 MB / 0.6817 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.1666, allocations: 4.062 kB / 0.6817 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.1667, allocations: 15.42 kB / 0.6817 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1667, allocations: 0 / 0.6817 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.185, allocations: 1.409 MB / 0.6831 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.753, allocations: 8 kB / 0.6831 GB, free: 2.43 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)