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.005629/0.005629, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.00128/0.00128, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.9692/0.9692, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.5951 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3792, allocations: 82.02 MB / 0.6752 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001927/0.3812, allocations: 1.25 MB / 0.6764 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.3821, allocations: 0.6059 MB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.3822, allocations: 0 / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.3822, allocations: 0 / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.3822, allocations: 1.125 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.3828, allocations: 142.8 kB / 0.6771 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.3828, allocations: 16.41 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3829, allocations: 1.969 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.3829, allocations: 2.094 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.3829, allocations: 7.109 kB / 0.6771 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3829, allocations: 0 / 0.6771 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.3835, allocations: 345.5 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.3835, allocations: 0 / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.3835, allocations: 10.38 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.3838, allocations: 140.1 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3838, allocations: 4 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3838, allocations: 4 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3838, allocations: 0 / 0.6776 GB, free: 15.21 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.0003863/0.3842, allocations: 355.5 kB / 0.678 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3843, allocations: 10.62 kB / 0.678 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.3843, allocations: 30.75 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.3843, allocations: 2.156 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3844, allocations: 165.5 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3845, allocations: 4.375 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3845, allocations: 1.719 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.3846, allocations: 33.95 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3846, allocations: 7.875 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3846, allocations: 0 / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3846, allocations: 1.188 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.3846, allocations: 2.875 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.3848, allocations: 151.9 kB / 0.6783 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.3849, allocations: 24.02 kB / 0.6784 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.3849, allocations: 15.08 kB / 0.6784 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3849, allocations: 1.25 kB / 0.6784 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.385, allocations: 31.59 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.404e-06/0.385, allocations: 0 / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.3851, allocations: 51.66 kB / 0.6785 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.3851, allocations: 51.41 kB / 0.6785 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.3852, allocations: 92.7 kB / 0.6786 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3852, allocations: 29.83 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.3853, allocations: 81.2 kB / 0.6787 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3853, allocations: 9.438 kB / 0.6787 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.3853, allocations: 16.31 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.3855, allocations: 310.8 kB / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.3855, allocations: 2.5 kB / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-06/0.3855, allocations: 1.406 kB / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.3855, allocations: 21.7 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3855, allocations: 1.062 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.089e-05/0.3856, allocations: 46.22 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3856, allocations: 8.812 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3856, allocations: 0 / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3856, allocations: 1.25 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3858, allocations: 11.67 kB / 0.6791 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003948/0.3862, allocations: 0.5906 MB / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.3862, allocations: 4 kB / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3862, allocations: 1.062 kB / 0.6797 GB, free: 12.93 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 6.942e-05/0.3863, allocations: 111.9 kB / 0.6798 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.3863, allocations: 0 / 0.6798 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3864, allocations: 45.88 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3864, allocations: 3.984 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.3865, allocations: 5.344 kB / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3865, allocations: 0 / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3866, allocations: 155.8 kB / 0.68 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3866, allocations: 1.219 kB / 0.68 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.3867, allocations: 6.906 kB / 0.68 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3867, allocations: 1.219 kB / 0.68 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3867, allocations: 0 / 0.68 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002996/0.387, allocations: 0.5864 MB / 0.6806 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.387, allocations: 13 kB / 0.6806 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.001e-05/0.3871, allocations: 62.16 kB / 0.6807 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.3871, allocations: 82.44 kB / 0.6807 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.3871, allocations: 0 / 0.6807 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.3872, allocations: 1.219 kB / 0.6807 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3872, allocations: 9.312 kB / 0.6808 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3872, allocations: 0 / 0.6808 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.3872, allocations: 85.62 kB / 0.6808 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3872, allocations: 0 / 0.6808 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002056/0.3874, allocations: 11.03 kB / 0.6808 GB, free: 11.69 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.000389/0.3878, allocations: 0.61 MB / 0.6814 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.388, allocations: 24.8 kB / 0.6815 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.388, allocations: 0 / 0.6815 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.3881, allocations: 18.95 kB / 0.6815 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.3883, allocations: 7.125 kB / 0.6815 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.3887, allocations: 133.8 kB / 0.6816 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3889, allocations: 0.6753 MB / 0.6823 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.427e-05/0.389, allocations: 1.125 kB / 0.6823 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.389, allocations: 8.406 kB / 0.6823 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.389, allocations: 0 / 0.6823 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.4074, allocations: 1.409 MB / 0.6837 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.92, allocations: 11 kB / 0.6837 GB, free: 9.488 MB / 0.5137 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)