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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.005364/0.005364, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001439/0.001439, allocations: 192 kB / 16.67 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.095/1.095, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3852, allocations: 82.03 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001967/0.3872, allocations: 1.236 MB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3883, allocations: 0.6011 MB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.3883, allocations: 0 / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.3884, allocations: 0 / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.3884, allocations: 1.125 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.3889, allocations: 142.9 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.389, allocations: 16.67 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.389, allocations: 2.156 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.3891, allocations: 6.203 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.3891, allocations: 6.531 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3891, allocations: 0 / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.3897, allocations: 344.7 kB / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.3897, allocations: 1.188 kB / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3897, allocations: 5.969 kB / 0.6777 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.39, allocations: 139.6 kB / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.39, allocations: 7.938 kB / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.367e-06/0.39, allocations: 1.156 kB / 0.6779 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.39, allocations: 3.938 kB / 0.6779 GB, free: 15.11 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.0004187/0.3904, allocations: 351.5 kB / 0.6782 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3905, allocations: 9.375 kB / 0.6782 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3905, allocations: 36 kB / 0.6782 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.3906, allocations: 6.266 kB / 0.6783 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3907, allocations: 160.4 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3907, allocations: 1.969 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.3907, allocations: 4.375 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.3908, allocations: 37.95 kB / 0.6784 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3908, allocations: 3.938 kB / 0.6784 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.3908, allocations: 0 / 0.6784 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.3909, allocations: 1.375 kB / 0.6785 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.3909, allocations: 6.484 kB / 0.6785 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3911, allocations: 148.5 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.3911, allocations: 27.83 kB / 0.6786 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.3912, allocations: 11.66 kB / 0.6786 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3912, allocations: 1.375 kB / 0.6786 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3912, allocations: 34.5 kB / 0.6787 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3912, allocations: 0 / 0.6787 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.3914, allocations: 43.17 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3914, allocations: 52.41 kB / 0.6788 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.3915, allocations: 101 kB / 0.6789 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3915, allocations: 25.7 kB / 0.6789 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3916, allocations: 81.23 kB / 0.679 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3916, allocations: 8.984 kB / 0.679 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.3916, allocations: 11.97 kB / 0.679 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3918, allocations: 312 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.3918, allocations: 1.375 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.3918, allocations: 6.531 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.3918, allocations: 22.31 kB / 0.6793 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3918, allocations: 3.938 kB / 0.6793 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.57e-05/0.3919, allocations: 37.95 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3919, allocations: 9.188 kB / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.392, allocations: 0 / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.392, allocations: 1.094 kB / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3921, allocations: 11.05 kB / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004313/0.3926, allocations: 0.5907 MB / 0.6799 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.3926, allocations: 1.094 kB / 0.6799 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.3926, allocations: 0 / 0.6799 GB, free: 12.82 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.804e-05/0.3927, allocations: 114.4 kB / 0.6801 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.3927, allocations: 5.188 kB / 0.6801 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3928, allocations: 44.66 kB / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3928, allocations: 4.125 kB / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3928, allocations: 1.094 kB / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3928, allocations: 0 / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.393, allocations: 161.2 kB / 0.6803 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.393, allocations: 0 / 0.6803 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.3931, allocations: 15.88 kB / 0.6803 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3931, allocations: 3.938 kB / 0.6803 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3931, allocations: 1.125 kB / 0.6803 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/0.3934, allocations: 0.5822 MB / 0.6808 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3935, allocations: 3.938 kB / 0.6809 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.402e-05/0.3935, allocations: 67.48 kB / 0.6809 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.3936, allocations: 77.11 kB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3936, allocations: 1.125 kB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.3936, allocations: 7.938 kB / 0.681 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.3937, allocations: 9.031 kB / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.3937, allocations: 5.406 kB / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.3937, allocations: 77.47 kB / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3937, allocations: 0 / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001945/0.3939, allocations: 10.22 kB / 0.6811 GB, free: 11.58 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.0004621/0.3944, allocations: 0.612 MB / 0.6817 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3946, allocations: 24.05 kB / 0.6817 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3946, allocations: 0 / 0.6817 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.3947, allocations: 18.64 kB / 0.6817 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3948, allocations: 4.844 kB / 0.6817 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.3953, allocations: 138.7 kB / 0.6819 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3956, allocations: 0.6724 MB / 0.6825 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.476e-05/0.3956, allocations: 0 / 0.6825 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.3956, allocations: 14.97 kB / 0.6825 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.3956, allocations: 0 / 0.6825 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.4189, allocations: 1.41 MB / 0.6839 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 5.266 kB / 0.6839 GB, free: 9.379 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)