Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001304/0.001304, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.001477/0.001477, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.9993/0.9993, allocations: 145 MB / 453.8 MB, free: 0.6367 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_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002104/0.002104, allocations: 66.56 kB / 0.628 GB, free: 10.58 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1981, allocations: 87.83 MB / 0.7138 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002546/0.2006, allocations: 1.259 MB / 0.715 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2018, allocations: 0.592 MB / 0.7156 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.2018, allocations: 4 kB / 0.7156 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.2018, allocations: 0 / 0.7156 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.2019, allocations: 3.984 kB / 0.7156 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.2025, allocations: 143.1 kB / 0.7158 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.2026, allocations: 7.938 kB / 0.7158 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.747e-05/0.2026, allocations: 7.984 kB / 0.7158 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.2026, allocations: 0 / 0.7158 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.2027, allocations: 7.938 kB / 0.7158 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2027, allocations: 0 / 0.7158 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.2033, allocations: 347.3 kB / 0.7161 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2033, allocations: 4 kB / 0.7161 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.2033, allocations: 4 kB / 0.7161 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.2036, allocations: 139.6 kB / 0.7163 GB, free: 244 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2036, allocations: 3.938 kB / 0.7163 GB, free: 240 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2036, allocations: 0 / 0.7163 GB, free: 240 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.2036, allocations: 0 / 0.7163 GB, free: 240 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.0005675/0.2042, allocations: 355.1 kB / 0.7166 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.2043, allocations: 12.03 kB / 0.7166 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.2043, allocations: 34.75 kB / 0.7166 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.2043, allocations: 0.9375 kB / 0.7166 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2045, allocations: 160.4 kB / 0.7168 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2045, allocations: 384 / 0.7168 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2045, allocations: 8.375 kB / 0.7168 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2046, allocations: 38.19 kB / 0.7168 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2046, allocations: 3.938 kB / 0.7168 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2047, allocations: 4 kB / 0.7168 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2047, allocations: 0 / 0.7168 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.2047, allocations: 4 kB / 0.7168 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.2049, allocations: 153.6 kB / 0.717 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.205, allocations: 22.59 kB / 0.717 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.205, allocations: 16.91 kB / 0.717 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.205, allocations: 0 / 0.717 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.205, allocations: 34.5 kB / 0.7171 GB, free: 15.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.205, allocations: 7.938 kB / 0.7171 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.2052, allocations: 41.64 kB / 0.7171 GB, free: 15.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.2053, allocations: 55.41 kB / 0.7172 GB, free: 15.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.2053, allocations: 97.84 kB / 0.7173 GB, free: 15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2053, allocations: 25.7 kB / 0.7173 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.2054, allocations: 80.14 kB / 0.7174 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.2054, allocations: 7.891 kB / 0.7174 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.2055, allocations: 17.97 kB / 0.7174 GB, free: 14.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2056, allocations: 314.8 kB / 0.7177 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.2056, allocations: 3.984 kB / 0.7177 GB, free: 14.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.2056, allocations: 4 kB / 0.7177 GB, free: 14.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.2057, allocations: 16.8 kB / 0.7177 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2057, allocations: 0 / 0.7177 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.638e-05/0.2057, allocations: 33.7 kB / 0.7177 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2057, allocations: 11.94 kB / 0.7178 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2058, allocations: 96 / 0.7178 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2058, allocations: 4 kB / 0.7178 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.2059, allocations: 11.98 kB / 0.7178 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004435/0.2064, allocations: 0.586 MB / 0.7183 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.2064, allocations: 0 / 0.7183 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2064, allocations: 0 / 0.7183 GB, free: 13.84 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 0.0001025/0.2065, allocations: 121.9 kB / 0.7185 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.2065, allocations: 3.938 kB / 0.7185 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2066, allocations: 40.83 kB / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2066, allocations: 0 / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2066, allocations: 0 / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2066, allocations: 3.984 kB / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2068, allocations: 157.6 kB / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2068, allocations: 0 / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.2069, allocations: 15.92 kB / 0.7187 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2069, allocations: 0 / 0.7187 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2069, allocations: 4.031 kB / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/0.2073, allocations: 0.5822 MB / 0.7192 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2073, allocations: 7.938 kB / 0.7192 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.2074, allocations: 61.12 kB / 0.7193 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.2074, allocations: 81.23 kB / 0.7194 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2074, allocations: 7.875 kB / 0.7194 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2075, allocations: 4 kB / 0.7194 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.2075, allocations: 7.938 kB / 0.7194 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.2075, allocations: 0 / 0.7194 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.2075, allocations: 79.27 kB / 0.7195 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2075, allocations: 0 / 0.7195 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002246/0.2078, allocations: 15.94 kB / 0.7195 GB, free: 12.53 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.000557/0.2083, allocations: 0.6048 MB / 0.7201 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.2085, allocations: 19.92 kB / 0.7201 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2085, allocations: 0 / 0.7201 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.2086, allocations: 15.98 kB / 0.7201 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.2088, allocations: 12.7 kB / 0.7201 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.2094, allocations: 135.6 kB / 0.7203 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.2097, allocations: 0.6729 MB / 0.7209 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.2097, allocations: 4 kB / 0.7209 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.2097, allocations: 7.438 kB / 0.7209 GB, free: 10.96 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.2097, allocations: 0 / 0.7209 GB, free: 10.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2363, allocations: 1.399 MB / 0.7223 GB, free: 9.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.04, allocations: 18.44 kB / 0.7223 GB, free: 9.785 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.001886719997856] Failed to read output from testmodel.py, exit status != 0: 12.131300241002464 12.148495401 11.94175745 Calling exit ...