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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 114.3 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 221.8 kB / 22.26 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9325/0.9325, allocations: 145 MB / 457.4 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 70.42 kB / 0.6332 GB, free: 7.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1946, allocations: 87.88 MB / 0.719 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002695/0.1973, allocations: 1.266 MB / 0.7202 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1984, allocations: 0.5955 MB / 0.7208 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.1984, allocations: 4 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.1984, allocations: 0 / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.1985, allocations: 3.938 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.199, allocations: 147.4 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.466e-05/0.1991, allocations: 7.984 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1991, allocations: 4 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.1992, allocations: 4 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.1992, allocations: 7.938 kB / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1992, allocations: 4 kB / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.1998, allocations: 343.3 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1998, allocations: 4 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.1998, allocations: 4 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2, allocations: 147.5 kB / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2001, allocations: 0 / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2001, allocations: 0 / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2001, allocations: 0 / 0.7215 GB, free: 12.86 MB / 0.545 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.0004132/0.2005, allocations: 266.1 kB / 0.7217 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2005, allocations: 12.03 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.2006, allocations: 34.75 kB / 0.7218 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.2006, allocations: 0.9375 kB / 0.7218 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2007, allocations: 122.4 kB / 0.7219 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2007, allocations: 384 / 0.7219 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.2007, allocations: 4.375 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.2008, allocations: 30.27 kB / 0.7219 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2008, allocations: 3.938 kB / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.2008, allocations: 0 / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2008, allocations: 3.938 kB / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.2009, allocations: 8 kB / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.201, allocations: 128.7 kB / 0.722 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.2011, allocations: 26.52 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.2011, allocations: 4.859 kB / 0.7221 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2011, allocations: 4.062 kB / 0.7221 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2012, allocations: 30.56 kB / 0.7221 GB, free: 12.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2012, allocations: 4 kB / 0.7221 GB, free: 12.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001452/0.2013, allocations: 45.62 kB / 0.7222 GB, free: 12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.2014, allocations: 51.41 kB / 0.7222 GB, free: 11.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.2014, allocations: 93.86 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2014, allocations: 25.7 kB / 0.7223 GB, free: 11.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.2015, allocations: 88.06 kB / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2015, allocations: 15.94 kB / 0.7224 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.2015, allocations: 9.969 kB / 0.7224 GB, free: 11.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2017, allocations: 314.8 kB / 0.7227 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.2017, allocations: 4 kB / 0.7227 GB, free: 11.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-06/0.2017, allocations: 4 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.2017, allocations: 12.86 kB / 0.7228 GB, free: 11.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2017, allocations: 0 / 0.7228 GB, free: 11.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.499e-05/0.2018, allocations: 41.69 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2018, allocations: 9.969 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2018, allocations: 4.094 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2018, allocations: 0 / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.202, allocations: 15.92 kB / 0.7228 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.2024, allocations: 0.5822 MB / 0.7234 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.2024, allocations: 0 / 0.7234 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2024, allocations: 0 / 0.7234 GB, free: 10.67 MB / 0.545 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 9.746e-05/0.2025, allocations: 120 kB / 0.7235 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.2025, allocations: 4 kB / 0.7235 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.2027, allocations: 48.94 kB / 0.7236 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2027, allocations: 0 / 0.7236 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2027, allocations: 0 / 0.7236 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2027, allocations: 0 / 0.7236 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2028, allocations: 132.6 kB / 0.7237 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2028, allocations: 0 / 0.7237 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.2028, allocations: 11.94 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2029, allocations: 4.031 kB / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.2029, allocations: 0 / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003633/0.2032, allocations: 0.5821 MB / 0.7243 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2032, allocations: 3.938 kB / 0.7243 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.152e-05/0.2033, allocations: 65.11 kB / 0.7243 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.2033, allocations: 4.125 kB / 0.7243 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2033, allocations: 7.984 kB / 0.7243 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.2033, allocations: 4 kB / 0.7243 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.2034, allocations: 3.938 kB / 0.7243 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.2034, allocations: 4 kB / 0.7244 GB, free: 9.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.2034, allocations: 75.28 kB / 0.7244 GB, free: 9.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2034, allocations: 0 / 0.7244 GB, free: 9.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001907/0.2036, allocations: 11.94 kB / 0.7244 GB, free: 9.492 MB / 0.545 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.0005011/0.2041, allocations: 0.6125 MB / 0.725 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.2042, allocations: 19.98 kB / 0.7251 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2042, allocations: 0 / 0.7251 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.2043, allocations: 15.98 kB / 0.7251 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.2045, allocations: 8.094 kB / 0.7251 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.205, allocations: 139.8 kB / 0.7252 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.2053, allocations: 0.6728 MB / 0.7259 GB, free: 7.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.2053, allocations: 4 kB / 0.7259 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.2053, allocations: 7.438 kB / 0.7259 GB, free: 7.918 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2053, allocations: 3.938 kB / 0.7259 GB, free: 7.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.2334, allocations: 1.407 MB / 0.7273 GB, free: 6.684 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.43, allocations: 4.734 kB / 0.7273 GB, free: 6.68 MB / 0.545 GB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.34105380300025] Failed to read output from testmodel.py, exit status != 0: 12.547593888000847 12.574816628 12.369762001 Calling exit ...