Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001345/0.001345, allocations: 106 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.001459/0.001459, allocations: 212 kB / 19.43 MB, free: 3.637 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.384/1.384, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002402/0.002402, allocations: 298.6 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 180.9 MB / 0.5333 GB, free: 13.86 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00278/0.00278, allocations: 106.2 kB / 0.7342 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1702, allocations: 95.34 MB / 0.8274 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002415/0.1727, allocations: 1.268 MB / 0.8286 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1737, allocations: 0.5936 MB / 0.8292 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.1737, allocations: 4 kB / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.1737, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1738, allocations: 3.938 kB / 0.8292 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1743, allocations: 139.4 kB / 0.8293 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.1744, allocations: 15.97 kB / 0.8293 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1744, allocations: 0 / 0.8293 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.1744, allocations: 4 kB / 0.8293 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.1745, allocations: 7.938 kB / 0.8293 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1745, allocations: 4 kB / 0.8293 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.175, allocations: 343.3 kB / 0.8297 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.175, allocations: 3.938 kB / 0.8297 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.175, allocations: 4 kB / 0.8297 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1753, allocations: 143.8 kB / 0.8298 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1753, allocations: 0 / 0.8298 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1753, allocations: 0 / 0.8298 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1753, allocations: 0 / 0.8298 GB, free: 7.336 MB / 0.5762 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.0004328/0.1757, allocations: 355.1 kB / 0.8302 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1758, allocations: 12.62 kB / 0.8302 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.1758, allocations: 30.75 kB / 0.8302 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.1758, allocations: 4.938 kB / 0.8302 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.176, allocations: 168.3 kB / 0.8304 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.176, allocations: 384 / 0.8304 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-06/0.176, allocations: 384 / 0.8304 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.1761, allocations: 34.25 kB / 0.8304 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1761, allocations: 3.938 kB / 0.8304 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1761, allocations: 4 kB / 0.8304 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1761, allocations: 0 / 0.8304 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.1761, allocations: 8 kB / 0.8304 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1763, allocations: 149.7 kB / 0.8306 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.455e-05/0.1763, allocations: 26.55 kB / 0.8306 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.1764, allocations: 8.922 kB / 0.8306 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1764, allocations: 0 / 0.8306 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1764, allocations: 30.56 kB / 0.8306 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1764, allocations: 4 kB / 0.8306 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.1766, allocations: 45.62 kB / 0.8307 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1766, allocations: 59.34 kB / 0.8307 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.1767, allocations: 93.86 kB / 0.8308 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1767, allocations: 25.7 kB / 0.8308 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1767, allocations: 84.08 kB / 0.8309 GB, free: 6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1767, allocations: 7.953 kB / 0.8309 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1768, allocations: 13.97 kB / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1769, allocations: 322.8 kB / 0.8312 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1769, allocations: 0 / 0.8312 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.1769, allocations: 4 kB / 0.8312 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.177, allocations: 8.859 kB / 0.8313 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.177, allocations: 0 / 0.8313 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.243e-05/0.177, allocations: 37.7 kB / 0.8313 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1771, allocations: 11.92 kB / 0.8313 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1771, allocations: 4.094 kB / 0.8313 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1771, allocations: 7.984 kB / 0.8313 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1772, allocations: 11.94 kB / 0.8313 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/0.1776, allocations: 0.5782 MB / 0.8319 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1776, allocations: 3.938 kB / 0.8319 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1776, allocations: 3.984 kB / 0.8319 GB, free: 4.945 MB / 0.5762 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.289e-05/0.1777, allocations: 117.9 kB / 0.832 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1777, allocations: 4.031 kB / 0.832 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1779, allocations: 60.64 kB / 0.8321 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1779, allocations: 0 / 0.8321 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1779, allocations: 0 / 0.8321 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1779, allocations: 0 / 0.8321 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.178, allocations: 153.6 kB / 0.8322 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.178, allocations: 0 / 0.8322 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.1781, allocations: 11.98 kB / 0.8322 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1781, allocations: 4.031 kB / 0.8322 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.1781, allocations: 0 / 0.8322 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/0.1784, allocations: 0.5782 MB / 0.8328 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1784, allocations: 3.938 kB / 0.8328 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.228e-05/0.1785, allocations: 77.19 kB / 0.8329 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1786, allocations: 77.11 kB / 0.8329 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1786, allocations: 0 / 0.8329 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.1786, allocations: 0 / 0.8329 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.1786, allocations: 11.86 kB / 0.833 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1786, allocations: 4 kB / 0.833 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.1786, allocations: 75.28 kB / 0.833 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1786, allocations: 0 / 0.833 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001882/0.1788, allocations: 8 kB / 0.833 GB, free: 3.648 MB / 0.5762 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.000458/0.1793, allocations: 0.6164 MB / 0.8336 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1794, allocations: 19.98 kB / 0.8337 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1794, allocations: 0 / 0.8337 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1795, allocations: 12.08 kB / 0.8337 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1797, allocations: 8 kB / 0.8337 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.1801, allocations: 131.8 kB / 0.8338 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1804, allocations: 0.6767 MB / 0.8345 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.345e-05/0.1804, allocations: 3.938 kB / 0.8345 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.1804, allocations: 11.44 kB / 0.8345 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.1804, allocations: 0 / 0.8345 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.2057, allocations: 1.419 MB / 0.8359 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.63, allocations: 1.25 kB / 0.8359 GB, free: 0.8906 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.693629095796496] Failed to read output from testmodel.py, exit status != 0: 11.722297810949385 11.744764875 11.56539996 Calling exit ...