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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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 1.046/1.046, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1588, allocations: 82.04 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002389/0.1612, allocations: 1.241 MB / 0.5956 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.1622, allocations: 0.5877 MB / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.1622, allocations: 0 / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1623, allocations: 3.938 kB / 0.5962 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.1623, allocations: 11.88 kB / 0.5962 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.1629, allocations: 142.8 kB / 0.5963 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.163, allocations: 4 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.163, allocations: 7.984 kB / 0.5963 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.998e-05/0.1631, allocations: 7.922 kB / 0.5963 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1631, allocations: 8 kB / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1631, allocations: 0 / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.1636, allocations: 339.4 kB / 0.5967 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.1637, allocations: 7.938 kB / 0.5967 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1637, allocations: 3.984 kB / 0.5967 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.164, allocations: 143.9 kB / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.164, allocations: 0 / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.164, allocations: 0 / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.164, allocations: 0 / 0.5968 GB, free: 6.969 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004204/0.1644, allocations: 351.4 kB / 0.5972 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1645, allocations: 12.62 kB / 0.5972 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.1645, allocations: 34.75 kB / 0.5972 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1646, allocations: 4.844 kB / 0.5972 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1647, allocations: 168.3 kB / 0.5974 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1647, allocations: 4.359 kB / 0.5974 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1647, allocations: 8.375 kB / 0.5974 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.1648, allocations: 34.25 kB / 0.5974 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1648, allocations: 7.938 kB / 0.5974 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1648, allocations: 0 / 0.5974 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1648, allocations: 0 / 0.5974 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.1649, allocations: 4 kB / 0.5974 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.165, allocations: 149.7 kB / 0.5976 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.1651, allocations: 34.53 kB / 0.5976 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.1651, allocations: 4.859 kB / 0.5976 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1651, allocations: 0 / 0.5976 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1652, allocations: 34.62 kB / 0.5976 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1652, allocations: 0 / 0.5976 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.1653, allocations: 45.72 kB / 0.5977 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1653, allocations: 59.38 kB / 0.5977 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.1654, allocations: 93.86 kB / 0.5978 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1654, allocations: 25.7 kB / 0.5979 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1655, allocations: 80.14 kB / 0.5979 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1655, allocations: 7.906 kB / 0.5979 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1655, allocations: 13.72 kB / 0.598 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1656, allocations: 314.8 kB / 0.5983 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.1657, allocations: 12.06 kB / 0.5983 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.1657, allocations: 7.938 kB / 0.5983 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.1657, allocations: 8.859 kB / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1657, allocations: 4 kB / 0.5983 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.375e-05/0.1658, allocations: 37.7 kB / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1658, allocations: 10.44 kB / 0.5983 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1658, allocations: 3.938 kB / 0.5983 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1658, allocations: 3.984 kB / 0.5983 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.166, allocations: 12.09 kB / 0.5984 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003562/0.1664, allocations: 0.5782 MB / 0.5989 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.1664, allocations: 0 / 0.5989 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1664, allocations: 4.031 kB / 0.5989 GB, free: 4.57 MB / 0.4981 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.535e-05/0.1665, allocations: 113.8 kB / 0.599 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.1665, allocations: 3.906 kB / 0.599 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1666, allocations: 48.86 kB / 0.5991 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.1666, allocations: 3.984 kB / 0.5991 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1667, allocations: 4 kB / 0.5991 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1667, allocations: 0 / 0.5991 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1668, allocations: 149.6 kB / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1668, allocations: 0 / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.1669, allocations: 11.98 kB / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1669, allocations: 0 / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1669, allocations: 4 kB / 0.5992 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003117/0.1672, allocations: 0.5822 MB / 0.5998 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1672, allocations: 3.938 kB / 0.5998 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.999e-05/0.1673, allocations: 65.09 kB / 0.5999 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1673, allocations: 77.11 kB / 0.6 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1674, allocations: 8.125 kB / 0.6 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.1674, allocations: 4 kB / 0.6 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1674, allocations: 3.938 kB / 0.6 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1674, allocations: 4 kB / 0.6 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.1675, allocations: 83.27 kB / 0.6001 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1675, allocations: 0 / 0.6001 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002143/0.1677, allocations: 11.94 kB / 0.6001 GB, free: 3.277 MB / 0.4981 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.0004464/0.1681, allocations: 0.6047 MB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1683, allocations: 27.92 kB / 0.6007 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1683, allocations: 3.938 kB / 0.6007 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.1684, allocations: 15.98 kB / 0.6007 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.1686, allocations: 4.547 kB / 0.6007 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.1691, allocations: 143.7 kB / 0.6008 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1693, allocations: 0.6768 MB / 0.6015 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.1693, allocations: 0 / 0.6015 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.1693, allocations: 7.438 kB / 0.6015 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1693, allocations: 0 / 0.6015 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.186, allocations: 1.343 MB / 0.6028 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.94, allocations: 10.98 kB / 0.6028 GB, free: 0.5508 MB / 0.4981 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)