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.001224/0.001224, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001397/0.001397, allocations: 207.1 kB / 22.24 MB, free: 5.262 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.789 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.002438/0.002438, allocations: 308.5 kB / 312.7 MB, free: 2.59 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.155/1.155, allocations: 180.6 MB / 0.5369 GB, free: 14.38 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.002873/0.002873, allocations: 99.31 kB / 0.7395 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1629, allocations: 95.39 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00233/0.1652, allocations: 1.298 MB / 0.8339 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.1661, allocations: 0.5193 MB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1662, allocations: 0 / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.1662, allocations: 3.984 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.1662, allocations: 15.92 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.1668, allocations: 142 kB / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.1668, allocations: 19.92 kB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1668, allocations: 4 kB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.1669, allocations: 7.938 kB / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.1669, allocations: 15.97 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1669, allocations: 3.938 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.1673, allocations: 263.5 kB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1674, allocations: 15.86 kB / 0.8349 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.1674, allocations: 7.984 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1676, allocations: 131.9 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1676, allocations: 0 / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1676, allocations: 0 / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.1676, allocations: 0 / 0.835 GB, free: 5.867 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.0004093/0.168, allocations: 297.9 kB / 0.8353 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1681, allocations: 9.344 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.1681, allocations: 34.75 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.1681, allocations: 8.891 kB / 0.8354 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1682, allocations: 106.5 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1682, allocations: 384 / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1683, allocations: 4.375 kB / 0.8355 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1684, allocations: 46.19 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1684, allocations: 3.938 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1684, allocations: 4 kB / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.1684, allocations: 0 / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.1684, allocations: 19.91 kB / 0.8355 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.1687, allocations: 216.1 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1689, allocations: 50.56 kB / 0.8358 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.169, allocations: 20.84 kB / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.169, allocations: 0 / 0.8358 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.169, allocations: 30.56 kB / 0.8358 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.169, allocations: 0 / 0.8358 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001693/0.1692, allocations: 61.62 kB / 0.8359 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1692, allocations: 51.41 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.1693, allocations: 101.8 kB / 0.836 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1693, allocations: 25.7 kB / 0.8361 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1694, allocations: 88.09 kB / 0.8362 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.1694, allocations: 15.84 kB / 0.8362 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1694, allocations: 17.72 kB / 0.8362 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1695, allocations: 318.8 kB / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.1696, allocations: 8 kB / 0.8365 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1696, allocations: 17.72 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.1696, allocations: 37.64 kB / 0.8366 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1696, allocations: 3.938 kB / 0.8366 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.876e-05/0.1697, allocations: 53.69 kB / 0.8366 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1698, allocations: 7.938 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1698, allocations: 0 / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1698, allocations: 4.031 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.1698, allocations: 8 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.1698, allocations: 3.938 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.1698, allocations: 8.125 kB / 0.8366 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1698, allocations: 0 / 0.8366 GB, free: 4.012 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.026e-05/0.1699, allocations: 122.4 kB / 0.8368 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.17, allocations: 3.953 kB / 0.8368 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.1701, allocations: 61.31 kB / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1701, allocations: 0 / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.1701, allocations: 4 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1701, allocations: 4.406 kB / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1703, allocations: 136.7 kB / 0.837 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1703, allocations: 0 / 0.837 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1703, allocations: 4 kB / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1703, allocations: 0 / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1703, allocations: 8 kB / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1703, allocations: 0 / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1703, allocations: 0 / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1704, allocations: 147.5 kB / 0.8371 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.1704, allocations: 11.94 kB / 0.8371 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1705, allocations: 8 kB / 0.8371 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.1705, allocations: 0 / 0.8371 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.1705, allocations: 3.938 kB / 0.8371 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.1705, allocations: 0 / 0.8371 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.1706, allocations: 83.27 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1706, allocations: 0 / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000248/0.1708, allocations: 27.88 kB / 0.8372 GB, free: 3.316 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.0004677/0.1713, allocations: 0.6889 MB / 0.8379 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.379e-05/0.1714, allocations: 27.92 kB / 0.8379 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1714, allocations: 4.062 kB / 0.8379 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.1714, allocations: 8 kB / 0.8379 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.1716, allocations: 10.56 kB / 0.838 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.172, allocations: 160.4 kB / 0.8381 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.1721, allocations: 67.28 kB / 0.8382 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.1721, allocations: 4 kB / 0.8382 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1721, allocations: 11.44 kB / 0.8382 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1721, allocations: 0 / 0.8382 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.1987, allocations: 1.892 MB / 0.84 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.84, allocations: 16.47 kB / 0.8401 GB, free: 0.4922 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.733476664405316] Failed to read output from testmodel.py, exit status != 0: 10.946362362243235 10.969703477 10.797882893 Calling exit ...