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.001214/0.001214, 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.001411/0.001411, allocations: 218.9 kB / 22.26 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.356/1.356, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002462/0.002462, allocations: 289 kB / 312.7 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.165/1.165, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002749/0.002749, allocations: 102.5 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1536, allocations: 95.39 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002504/0.1561, allocations: 1.274 MB / 0.834 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1571, allocations: 0.6013 MB / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.1571, allocations: 0 / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1571, allocations: 0 / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.1572, allocations: 3.984 kB / 0.8346 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.1577, allocations: 143.4 kB / 0.8347 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.1577, allocations: 15.92 kB / 0.8347 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.1577, allocations: 0 / 0.8347 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.1578, allocations: 8 kB / 0.8347 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.1578, allocations: 3.938 kB / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1578, allocations: 0 / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.1583, allocations: 347.3 kB / 0.8351 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.1583, allocations: 0 / 0.8351 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.1584, allocations: 4 kB / 0.8351 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1586, allocations: 139.8 kB / 0.8352 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1586, allocations: 4 kB / 0.8352 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1586, allocations: 4 kB / 0.8352 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1586, allocations: 0 / 0.8352 GB, free: 6.113 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.0003967/0.159, allocations: 278 kB / 0.8355 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1591, allocations: 8.75 kB / 0.8355 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.1591, allocations: 30.75 kB / 0.8355 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.1591, allocations: 0.9375 kB / 0.8355 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1592, allocations: 114.5 kB / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1593, allocations: 384 / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-06/0.1593, allocations: 4.375 kB / 0.8356 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.822e-05/0.1593, allocations: 30.27 kB / 0.8356 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1594, allocations: 3.938 kB / 0.8357 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.1594, allocations: 0 / 0.8357 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1594, allocations: 0 / 0.8357 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.1594, allocations: 7.938 kB / 0.8357 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1596, allocations: 128.7 kB / 0.8358 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.1596, allocations: 22.61 kB / 0.8358 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.1596, allocations: 12.92 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1596, allocations: 0 / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1597, allocations: 38.55 kB / 0.8359 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.1597, allocations: 3.938 kB / 0.8359 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.1598, allocations: 45.58 kB / 0.8359 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1599, allocations: 55.41 kB / 0.836 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.1599, allocations: 93.98 kB / 0.836 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.16, allocations: 25.7 kB / 0.8361 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.16, allocations: 88.06 kB / 0.8362 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.16, allocations: 15.94 kB / 0.8362 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.16, allocations: 9.719 kB / 0.8362 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1602, allocations: 314.8 kB / 0.8365 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1602, allocations: 0 / 0.8365 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.1602, allocations: 8 kB / 0.8365 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/0.1602, allocations: 13.05 kB / 0.8365 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1602, allocations: 0 / 0.8365 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.087e-05/0.1603, allocations: 45.62 kB / 0.8365 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1603, allocations: 7.938 kB / 0.8365 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1603, allocations: 3.984 kB / 0.8366 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1603, allocations: 4 kB / 0.8366 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1605, allocations: 11.98 kB / 0.8366 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003873/0.1609, allocations: 0.5822 MB / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.1609, allocations: 0 / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1609, allocations: 0 / 0.8371 GB, free: 3.914 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.268e-05/0.161, allocations: 114.4 kB / 0.8372 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.161, allocations: 4.031 kB / 0.8372 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1611, allocations: 48.94 kB / 0.8373 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1611, allocations: 0 / 0.8373 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1611, allocations: 4.125 kB / 0.8373 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1611, allocations: 0 / 0.8373 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1612, allocations: 136.6 kB / 0.8374 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1612, allocations: 0 / 0.8374 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.1613, allocations: 8 kB / 0.8374 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1613, allocations: 0 / 0.8374 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1613, allocations: 3.984 kB / 0.8374 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003685/0.1616, allocations: 0.586 MB / 0.838 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1616, allocations: 3.938 kB / 0.838 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.039e-05/0.1617, allocations: 61.17 kB / 0.8381 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.1617, allocations: 3.984 kB / 0.8381 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1618, allocations: 3.938 kB / 0.8381 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.1618, allocations: 4 kB / 0.8381 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1618, allocations: 7.938 kB / 0.8381 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1618, allocations: 96 / 0.8381 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.1618, allocations: 79.28 kB / 0.8382 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1618, allocations: 0 / 0.8382 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002065/0.1621, allocations: 15.88 kB / 0.8382 GB, free: 2.734 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.000643/0.1627, allocations: 0.6086 MB / 0.8388 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1629, allocations: 19.98 kB / 0.8388 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1629, allocations: 0 / 0.8388 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.163, allocations: 19.92 kB / 0.8388 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.1632, allocations: 6.375 kB / 0.8388 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.1638, allocations: 135.9 kB / 0.839 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.1642, allocations: 0.6769 MB / 0.8396 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.1642, allocations: 0 / 0.8396 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1642, allocations: 7.438 kB / 0.8396 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1642, allocations: 0 / 0.8396 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1928, allocations: 1.397 MB / 0.841 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.42, allocations: 3.078 kB / 0.841 GB, free: 15.94 MB / 0.5919 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.342035138000938] Failed to read output from testmodel.py, exit status != 0: 11.532300341001246 11.550239681 11.388797689 Calling exit ...