Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.005474/0.005474, allocations: 102 kB / 15.73 MB, free: 6.02 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.001245/0.001245, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.8446/0.8446, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.42 kB / 0.5951 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1523, allocations: 82.04 MB / 0.6752 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002166/0.1545, allocations: 1.234 MB / 0.6764 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.1555, allocations: 0.5958 MB / 0.677 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1555, allocations: 0 / 0.677 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.1556, allocations: 3.938 kB / 0.677 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.1556, allocations: 0 / 0.677 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1561, allocations: 139.4 kB / 0.6771 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.1562, allocations: 15.92 kB / 0.6771 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.1562, allocations: 8 kB / 0.6771 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.727e-05/0.1563, allocations: 3.938 kB / 0.6771 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.1563, allocations: 7.984 kB / 0.6771 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1563, allocations: 0 / 0.6771 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.1568, allocations: 343.3 kB / 0.6775 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.1569, allocations: 4 kB / 0.6775 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1569, allocations: 3.938 kB / 0.6775 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1571, allocations: 135.9 kB / 0.6776 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1571, allocations: 0 / 0.6776 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1571, allocations: 3.938 kB / 0.6776 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1572, allocations: 0 / 0.6776 GB, free: 8.465 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004024/0.1576, allocations: 363 kB / 0.6779 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1576, allocations: 12.03 kB / 0.678 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.1576, allocations: 34.69 kB / 0.678 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.1577, allocations: 0.9375 kB / 0.678 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1578, allocations: 164.4 kB / 0.6781 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1578, allocations: 384 / 0.6781 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.1578, allocations: 8.359 kB / 0.6781 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.1579, allocations: 30.27 kB / 0.6782 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1579, allocations: 7.938 kB / 0.6782 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1579, allocations: 8 kB / 0.6782 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.158, allocations: 0 / 0.6782 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.158, allocations: 3.938 kB / 0.6782 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1581, allocations: 153.7 kB / 0.6783 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.1582, allocations: 18.61 kB / 0.6784 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.1582, allocations: 8.922 kB / 0.6784 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1582, allocations: 4 kB / 0.6784 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1583, allocations: 34.56 kB / 0.6784 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1583, allocations: 4 kB / 0.6784 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.1584, allocations: 45.56 kB / 0.6785 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1585, allocations: 51.41 kB / 0.6785 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.1585, allocations: 97.86 kB / 0.6786 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1586, allocations: 25.7 kB / 0.6786 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.1586, allocations: 84.39 kB / 0.6787 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1586, allocations: 7.938 kB / 0.6787 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1587, allocations: 17.72 kB / 0.6787 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1588, allocations: 310.8 kB / 0.679 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.1588, allocations: 4 kB / 0.679 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.1588, allocations: 0 / 0.679 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.1588, allocations: 12.86 kB / 0.679 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1588, allocations: 0 / 0.679 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.16e-05/0.1589, allocations: 49.69 kB / 0.6791 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1589, allocations: 9.969 kB / 0.6791 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1589, allocations: 0 / 0.6791 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.159, allocations: 0 / 0.6791 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1591, allocations: 11.98 kB / 0.6791 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003583/0.1595, allocations: 0.5821 MB / 0.6797 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.1595, allocations: 8.062 kB / 0.6797 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1595, allocations: 4 kB / 0.6797 GB, free: 6.062 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.1596, allocations: 118.5 kB / 0.6798 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.1596, allocations: 0 / 0.6798 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1597, allocations: 52.69 kB / 0.6799 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1597, allocations: 0 / 0.6799 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1597, allocations: 0 / 0.6799 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1598, allocations: 4 kB / 0.6799 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.1599, allocations: 157.6 kB / 0.68 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1599, allocations: 0 / 0.68 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.16, allocations: 12 kB / 0.68 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.16, allocations: 0 / 0.68 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.16, allocations: 4 kB / 0.68 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004169/0.1604, allocations: 0.586 MB / 0.6806 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1604, allocations: 3.938 kB / 0.6806 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.891e-05/0.1605, allocations: 65.22 kB / 0.6807 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.1605, allocations: 81.09 kB / 0.6807 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1606, allocations: 4 kB / 0.6807 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.1606, allocations: 4 kB / 0.6807 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.1606, allocations: 3.938 kB / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1606, allocations: 0 / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.1606, allocations: 79.28 kB / 0.6808 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1607, allocations: 4.125 kB / 0.6808 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002225/0.1609, allocations: 7.938 kB / 0.6808 GB, free: 4.766 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/0.1613, allocations: 0.6163 MB / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1615, allocations: 20.02 kB / 0.6815 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1615, allocations: 0 / 0.6815 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.1616, allocations: 23.92 kB / 0.6815 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1618, allocations: 4.547 kB / 0.6815 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.1622, allocations: 139.5 kB / 0.6816 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1625, allocations: 0.669 MB / 0.6823 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.1625, allocations: 4.125 kB / 0.6823 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1625, allocations: 11.44 kB / 0.6823 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1625, allocations: 0 / 0.6823 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1823, allocations: 1.401 MB / 0.6837 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.74, allocations: 5.516 kB / 0.6837 GB, free: 2.008 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)