Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.00122/0.00122, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001366/0.001366, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 8.023 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.002401/0.002401, allocations: 285.9 kB / 312.7 MB, free: 2.82 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.149/1.149, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.002763/0.002763, allocations: 97.64 kB / 0.7396 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1544, allocations: 95.39 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00232/0.1568, allocations: 1.304 MB / 0.834 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1578, allocations: 0.601 MB / 0.8346 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1578, allocations: 0 / 0.8346 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.1578, allocations: 0 / 0.8346 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.1579, allocations: 11.92 kB / 0.8346 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.1584, allocations: 145.8 kB / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.1585, allocations: 19.94 kB / 0.8348 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1585, allocations: 3.984 kB / 0.8348 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.1585, allocations: 11.92 kB / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.1586, allocations: 7.938 kB / 0.8348 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1586, allocations: 0 / 0.8348 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.1591, allocations: 347.3 kB / 0.8351 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.1591, allocations: 11.92 kB / 0.8351 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1591, allocations: 8 kB / 0.8351 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1594, allocations: 147.8 kB / 0.8353 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1594, allocations: 4 kB / 0.8353 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1594, allocations: 0 / 0.8353 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1594, allocations: 0 / 0.8353 GB, free: 6.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004337/0.1598, allocations: 286 kB / 0.8356 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1599, allocations: 9.344 kB / 0.8356 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.1599, allocations: 34.73 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1599, allocations: 12.89 kB / 0.8356 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.635e-05/0.16, allocations: 110.4 kB / 0.8357 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.16, allocations: 4.375 kB / 0.8357 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.16, allocations: 4.375 kB / 0.8357 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1602, allocations: 46.25 kB / 0.8358 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1602, allocations: 3.938 kB / 0.8358 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1602, allocations: 0 / 0.8358 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1602, allocations: 0 / 0.8358 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.1602, allocations: 15.98 kB / 0.8358 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.1606, allocations: 220.1 kB / 0.836 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1607, allocations: 54.5 kB / 0.836 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.1608, allocations: 16.84 kB / 0.8361 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1608, allocations: 3.984 kB / 0.8361 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1608, allocations: 34.56 kB / 0.8361 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1608, allocations: 4 kB / 0.8361 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001688/0.161, allocations: 53.69 kB / 0.8362 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.161, allocations: 55.34 kB / 0.8362 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.1611, allocations: 101.8 kB / 0.8363 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1611, allocations: 25.7 kB / 0.8363 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.1612, allocations: 84.09 kB / 0.8364 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1612, allocations: 19.84 kB / 0.8364 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1612, allocations: 21.7 kB / 0.8364 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1614, allocations: 314.8 kB / 0.8367 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.1614, allocations: 4 kB / 0.8368 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.1614, allocations: 25.7 kB / 0.8368 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.1615, allocations: 25.72 kB / 0.8368 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1615, allocations: 3.938 kB / 0.8368 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.674e-05/0.1616, allocations: 57.62 kB / 0.8369 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1616, allocations: 4 kB / 0.8369 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1616, allocations: 7.969 kB / 0.8369 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1616, allocations: 4 kB / 0.8369 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.1616, allocations: 8 kB / 0.8369 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1616, allocations: 0 / 0.8369 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.1617, allocations: 7.984 kB / 0.8369 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1617, allocations: 0 / 0.8369 GB, free: 4.203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/0.1618, allocations: 118.4 kB / 0.837 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1618, allocations: 3.953 kB / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.1619, allocations: 65.31 kB / 0.8371 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1619, allocations: 0 / 0.8371 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1619, allocations: 0 / 0.8371 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1619, allocations: 3.984 kB / 0.8371 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1621, allocations: 132.7 kB / 0.8372 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1621, allocations: 0 / 0.8372 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.1622, allocations: 7.984 kB / 0.8372 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1622, allocations: 4 kB / 0.8372 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.1622, allocations: 0 / 0.8372 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1622, allocations: 4.062 kB / 0.8372 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1622, allocations: 4 kB / 0.8372 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.1623, allocations: 152 kB / 0.8374 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.1623, allocations: 3.953 kB / 0.8374 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1623, allocations: 4 kB / 0.8374 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.1624, allocations: 0 / 0.8374 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.1624, allocations: 8.016 kB / 0.8374 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1624, allocations: 0 / 0.8374 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.1625, allocations: 83.28 kB / 0.8375 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1625, allocations: 4 kB / 0.8375 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002664/0.1627, allocations: 23.88 kB / 0.8375 GB, free: 3.512 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005497/0.1633, allocations: 0.6967 MB / 0.8382 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1634, allocations: 16 kB / 0.8382 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1634, allocations: 4 kB / 0.8382 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.1634, allocations: 23.92 kB / 0.8382 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1636, allocations: 4 kB / 0.8382 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.1641, allocations: 160.4 kB / 0.8384 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1644, allocations: 0.6768 MB / 0.839 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.1644, allocations: 8 kB / 0.839 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1645, allocations: 11.42 kB / 0.839 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1645, allocations: 0 / 0.839 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.1919, allocations: 1.521 MB / 0.8405 GB, free: 456 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.854/10.05, allocations: 4.438 kB / 0.8405 GB, free: 452 kB / 0.5762 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.981630955997389] Failed to read output from testmodel.py, exit status != 0: 10.147275282997725 10.162903073 10.000640763 Calling exit ...