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.001339/0.001339, allocations: 102.8 kB / 16.45 MB, free: 6.387 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.001352/0.001352, allocations: 214.3 kB / 19.43 MB, free: 3.73 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9289/0.9289, allocations: 145 MB / 453.8 MB, free: 0.7539 MB / 350.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.002012/0.002012, allocations: 65.31 kB / 0.628 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1954, allocations: 87.83 MB / 0.7138 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002682/0.1981, allocations: 1.265 MB / 0.715 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1992, allocations: 0.5959 MB / 0.7156 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1992, allocations: 0 / 0.7156 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.1992, allocations: 4 kB / 0.7156 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.1993, allocations: 3.938 kB / 0.7156 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.1998, allocations: 146.3 kB / 0.7158 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.1999, allocations: 7.938 kB / 0.7158 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.908e-05/0.1999, allocations: 0 / 0.7158 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.2, allocations: 8 kB / 0.7158 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.2, allocations: 3.984 kB / 0.7158 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2, allocations: 4 kB / 0.7158 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.2006, allocations: 347.2 kB / 0.7161 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.2006, allocations: 0 / 0.7161 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.2006, allocations: 4 kB / 0.7161 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.2009, allocations: 143.8 kB / 0.7163 GB, free: 348 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2009, allocations: 4 kB / 0.7163 GB, free: 344 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2009, allocations: 0 / 0.7163 GB, free: 344 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2009, allocations: 0 / 0.7163 GB, free: 344 kB / 0.5294 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.0005411/0.2015, allocations: 351.1 kB / 0.7166 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2015, allocations: 8.031 kB / 0.7166 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.2015, allocations: 38.67 kB / 0.7166 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.2016, allocations: 0.9375 kB / 0.7166 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2017, allocations: 168.4 kB / 0.7168 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2017, allocations: 4.375 kB / 0.7168 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2017, allocations: 4.312 kB / 0.7168 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2019, allocations: 30.27 kB / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2019, allocations: 3.938 kB / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2019, allocations: 0 / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2019, allocations: 0 / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.2019, allocations: 8 kB / 0.7168 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.2021, allocations: 153.7 kB / 0.717 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.2022, allocations: 30.52 kB / 0.717 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.2022, allocations: 4.859 kB / 0.717 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2022, allocations: 4.062 kB / 0.717 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2023, allocations: 34.55 kB / 0.7171 GB, free: 15.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2023, allocations: 0 / 0.7171 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.2024, allocations: 45.58 kB / 0.7171 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.2025, allocations: 51.41 kB / 0.7172 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.2026, allocations: 97.98 kB / 0.7172 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2026, allocations: 29.64 kB / 0.7173 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.2026, allocations: 84.14 kB / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2027, allocations: 11.94 kB / 0.7174 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2027, allocations: 9.719 kB / 0.7174 GB, free: 14.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2029, allocations: 310.8 kB / 0.7177 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.2029, allocations: 8 kB / 0.7177 GB, free: 14.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.2029, allocations: 4.125 kB / 0.7177 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.2029, allocations: 12.86 kB / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2029, allocations: 0 / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.164e-05/0.203, allocations: 45.62 kB / 0.7177 GB, free: 14.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.203, allocations: 7.938 kB / 0.7177 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.203, allocations: 0 / 0.7177 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.203, allocations: 0 / 0.7177 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2032, allocations: 11.98 kB / 0.7178 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004702/0.2037, allocations: 0.5862 MB / 0.7183 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.2037, allocations: 0 / 0.7183 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2037, allocations: 0 / 0.7183 GB, free: 13.95 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.267e-05/0.2038, allocations: 110.4 kB / 0.7184 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2038, allocations: 8 kB / 0.7184 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.2039, allocations: 52.84 kB / 0.7185 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2039, allocations: 0 / 0.7185 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2039, allocations: 4 kB / 0.7185 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2039, allocations: 3.938 kB / 0.7185 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2041, allocations: 161.5 kB / 0.7187 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2041, allocations: 0 / 0.7187 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.2041, allocations: 8 kB / 0.7187 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2041, allocations: 0 / 0.7187 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2042, allocations: 3.984 kB / 0.7187 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000398/0.2046, allocations: 0.586 MB / 0.7192 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2046, allocations: 3.938 kB / 0.7192 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.163e-05/0.2046, allocations: 65.17 kB / 0.7193 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.2047, allocations: 81.09 kB / 0.7194 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2047, allocations: 4 kB / 0.7194 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.2047, allocations: 0 / 0.7194 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.2047, allocations: 8.062 kB / 0.7194 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2048, allocations: 4 kB / 0.7194 GB, free: 12.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.2048, allocations: 79.22 kB / 0.7195 GB, free: 12.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2048, allocations: 0 / 0.7195 GB, free: 12.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002187/0.205, allocations: 8 kB / 0.7195 GB, free: 12.64 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.0005015/0.2055, allocations: 0.6125 MB / 0.7201 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.2057, allocations: 19.98 kB / 0.7201 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2057, allocations: 0 / 0.7201 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.2058, allocations: 15.98 kB / 0.7201 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.2059, allocations: 7.891 kB / 0.7201 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.2065, allocations: 143.7 kB / 0.7203 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.2068, allocations: 0.6729 MB / 0.7209 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.2068, allocations: 0 / 0.7209 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.2068, allocations: 7.438 kB / 0.7209 GB, free: 11.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2068, allocations: 4 kB / 0.7209 GB, free: 11.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.2354, allocations: 1.424 MB / 0.7223 GB, free: 9.883 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.85, allocations: 3.938 kB / 0.7223 GB, free: 9.879 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.644053474999964] Failed to read output from testmodel.py, exit status != 0: 11.947083730003214 11.961800021 11.757886595 Calling exit ...