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.001354/0.001354, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001559/0.001559, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.961 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.9052/0.9052, allocations: 145 MB / 457.4 MB, free: 15.47 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_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.002054/0.002054, allocations: 74.78 kB / 0.6332 GB, free: 7.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2041, allocations: 87.87 MB / 0.719 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002428/0.2065, allocations: 1.274 MB / 0.7202 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2076, allocations: 0.6033 MB / 0.7208 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.2076, allocations: 0 / 0.7208 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.2076, allocations: 0 / 0.7208 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.2077, allocations: 3.938 kB / 0.7208 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.2082, allocations: 142 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.2082, allocations: 11.94 kB / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.2083, allocations: 4 kB / 0.721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.2083, allocations: 7.969 kB / 0.721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.2084, allocations: 7.938 kB / 0.721 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2084, allocations: 4 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.2089, allocations: 331.4 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2089, allocations: 11.98 kB / 0.7213 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.2089, allocations: 7.922 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2092, allocations: 135.6 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2092, allocations: 0 / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2092, allocations: 0 / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2092, allocations: 0 / 0.7215 GB, free: 12.85 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.000407/0.2096, allocations: 270.1 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2096, allocations: 16.03 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.2097, allocations: 38.69 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.2097, allocations: 0.9375 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2098, allocations: 110.5 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2098, allocations: 4.375 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.2098, allocations: 384 / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.2099, allocations: 34.25 kB / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2099, allocations: 3.938 kB / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.2099, allocations: 0 / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2099, allocations: 4 kB / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.21, allocations: 7.938 kB / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2101, allocations: 124.8 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.2102, allocations: 34.44 kB / 0.7221 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.2102, allocations: 4.859 kB / 0.7221 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2102, allocations: 4.062 kB / 0.7221 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2103, allocations: 34.56 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2103, allocations: 0 / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.2104, allocations: 41.64 kB / 0.7222 GB, free: 11.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2104, allocations: 59.33 kB / 0.7222 GB, free: 11.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.2105, allocations: 93.86 kB / 0.7223 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2105, allocations: 25.7 kB / 0.7223 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.2106, allocations: 84.14 kB / 0.7224 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2106, allocations: 7.953 kB / 0.7224 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2106, allocations: 13.97 kB / 0.7224 GB, free: 11.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2107, allocations: 314.8 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.2108, allocations: 8 kB / 0.7227 GB, free: 11.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.2108, allocations: 0 / 0.7227 GB, free: 11.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.2108, allocations: 12.86 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2108, allocations: 0 / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.417e-05/0.2109, allocations: 41.64 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2109, allocations: 7.938 kB / 0.7228 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2109, allocations: 4.094 kB / 0.7228 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2109, allocations: 7.969 kB / 0.7228 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2111, allocations: 8 kB / 0.7228 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003925/0.2114, allocations: 0.5782 MB / 0.7234 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.2115, allocations: 4.031 kB / 0.7234 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.2115, allocations: 0 / 0.7234 GB, free: 10.65 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 8.428e-05/0.2115, allocations: 120.1 kB / 0.7235 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.2116, allocations: 4 kB / 0.7235 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2117, allocations: 44.95 kB / 0.7235 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2117, allocations: 0 / 0.7235 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2117, allocations: 3.984 kB / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2117, allocations: 0 / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2118, allocations: 128.7 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2118, allocations: 0 / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.2119, allocations: 11.98 kB / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2119, allocations: 4.031 kB / 0.7237 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2119, allocations: 3.938 kB / 0.7237 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003388/0.2122, allocations: 0.5821 MB / 0.7243 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2122, allocations: 7.875 kB / 0.7243 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.063e-05/0.2123, allocations: 69.25 kB / 0.7243 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.2123, allocations: 0 / 0.7243 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.2123, allocations: 8 kB / 0.7243 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.2123, allocations: 0 / 0.7243 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.2124, allocations: 3.938 kB / 0.7243 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2124, allocations: 4 kB / 0.7244 GB, free: 9.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.2124, allocations: 79.27 kB / 0.7244 GB, free: 9.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2124, allocations: 0 / 0.7244 GB, free: 9.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001955/0.2126, allocations: 11.94 kB / 0.7244 GB, free: 9.473 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.0004466/0.213, allocations: 0.6125 MB / 0.725 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.2132, allocations: 19.98 kB / 0.7251 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2132, allocations: 0 / 0.7251 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.2133, allocations: 20.08 kB / 0.7251 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2134, allocations: 5.969 kB / 0.7251 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.2139, allocations: 139.7 kB / 0.7252 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.2142, allocations: 0.6729 MB / 0.7259 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.2142, allocations: 4 kB / 0.7259 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.2143, allocations: 7.438 kB / 0.7259 GB, free: 7.898 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2143, allocations: 4.062 kB / 0.7259 GB, free: 7.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.2421, allocations: 1.402 MB / 0.7273 GB, free: 6.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.59, allocations: 3.562 kB / 0.7273 GB, free: 6.668 MB / 0.545 GB " [Timeout remaining time 647] (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.42318440699819] Failed to read output from testmodel.py, exit status != 0: 12.700469219998922 12.715075437 12.502878918 Calling exit ...