Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001447/0.001447, allocations: 108 kB / 15.61 MB, free: 152 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.001739/0.001739, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.406 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 0.9924/0.9924, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1484, allocations: 82.05 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002489/0.1509, allocations: 1.236 MB / 0.5956 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.1519, allocations: 0.5838 MB / 0.5962 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.152, allocations: 0 / 0.5962 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.152, allocations: 7.922 kB / 0.5962 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.1521, allocations: 7.938 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1526, allocations: 151.3 kB / 0.5963 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.1526, allocations: 7.938 kB / 0.5963 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.1527, allocations: 4 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.1527, allocations: 4 kB / 0.5964 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.1527, allocations: 4 kB / 0.5964 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1528, allocations: 0 / 0.5964 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.1533, allocations: 347.3 kB / 0.5967 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1533, allocations: 11.94 kB / 0.5967 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.1533, allocations: 0 / 0.5967 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1535, allocations: 140 kB / 0.5968 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1536, allocations: 0 / 0.5968 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1536, allocations: 3.938 kB / 0.5968 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1536, allocations: 0 / 0.5968 GB, free: 6.988 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.0003782/0.154, allocations: 354.9 kB / 0.5972 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.154, allocations: 12.62 kB / 0.5972 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.154, allocations: 30.75 kB / 0.5972 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.1541, allocations: 4.844 kB / 0.5972 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1542, allocations: 168.4 kB / 0.5974 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1542, allocations: 384 / 0.5974 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1542, allocations: 4.375 kB / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.1543, allocations: 30.27 kB / 0.5974 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1543, allocations: 7.938 kB / 0.5974 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.1543, allocations: 0 / 0.5974 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1543, allocations: 0 / 0.5974 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.1544, allocations: 7.938 kB / 0.5974 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1546, allocations: 157.7 kB / 0.5976 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.1546, allocations: 26.67 kB / 0.5976 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1546, allocations: 4.859 kB / 0.5976 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1547, allocations: 0 / 0.5976 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1547, allocations: 34.56 kB / 0.5976 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1547, allocations: 0 / 0.5976 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.1548, allocations: 49.66 kB / 0.5977 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1549, allocations: 55.44 kB / 0.5977 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.1549, allocations: 93.86 kB / 0.5978 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1549, allocations: 29.7 kB / 0.5979 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.155, allocations: 80.14 kB / 0.5979 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.155, allocations: 7.891 kB / 0.5979 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.155, allocations: 13.72 kB / 0.598 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.1551, allocations: 314.8 kB / 0.5983 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.1552, allocations: 16.06 kB / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.1552, allocations: 0 / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.1552, allocations: 8.859 kB / 0.5983 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1552, allocations: 3.938 kB / 0.5983 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.691e-05/0.1553, allocations: 49.62 kB / 0.5983 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1553, allocations: 10.28 kB / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1553, allocations: 0 / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1553, allocations: 0 / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1555, allocations: 12.08 kB / 0.5984 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003387/0.1558, allocations: 0.5821 MB / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.1559, allocations: 0 / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1559, allocations: 4.031 kB / 0.5989 GB, free: 4.594 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 6.892e-05/0.1559, allocations: 113.8 kB / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.156, allocations: 3.906 kB / 0.599 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.1561, allocations: 52.84 kB / 0.5991 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1561, allocations: 0 / 0.5991 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1561, allocations: 0 / 0.5991 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1561, allocations: 4 kB / 0.5991 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/0.1562, allocations: 149.6 kB / 0.5992 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1562, allocations: 0 / 0.5992 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.1563, allocations: 8 kB / 0.5992 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1563, allocations: 0 / 0.5992 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1563, allocations: 4 kB / 0.5992 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/0.1566, allocations: 0.5899 MB / 0.5998 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1566, allocations: 3.938 kB / 0.5998 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.1567, allocations: 57.17 kB / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1567, allocations: 85.09 kB / 0.6 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1567, allocations: 4 kB / 0.6 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.1567, allocations: 4.125 kB / 0.6 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.1568, allocations: 3.938 kB / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1568, allocations: 0 / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.1568, allocations: 79.28 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1568, allocations: 0 / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001974/0.157, allocations: 7.938 kB / 0.6001 GB, free: 3.312 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.0003815/0.1574, allocations: 0.6164 MB / 0.6007 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1576, allocations: 23.92 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1576, allocations: 0 / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.1577, allocations: 19.92 kB / 0.6007 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1578, allocations: 8.484 kB / 0.6007 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.1583, allocations: 139.8 kB / 0.6008 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1585, allocations: 0.6729 MB / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.1585, allocations: 0 / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.1586, allocations: 7.438 kB / 0.6015 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1586, allocations: 0 / 0.6015 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1783, allocations: 1.36 MB / 0.6028 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.9, allocations: 13.58 kB / 0.6028 GB, free: 0.5664 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)