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.001886/0.001886, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002252/0.002252, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.805 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.002455/0.002455, allocations: 278.7 kB / 312.7 MB, free: 2.711 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.23/1.23, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.002919/0.002919, allocations: 100.1 kB / 0.7395 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1818, allocations: 95.39 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002441/0.1842, allocations: 1.295 MB / 0.8339 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.1852, allocations: 0.527 MB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.1852, allocations: 0 / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1852, allocations: 3.984 kB / 0.8344 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.1853, allocations: 11.92 kB / 0.8344 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1858, allocations: 150.4 kB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.1858, allocations: 15.92 kB / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1859, allocations: 4 kB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.1859, allocations: 11.94 kB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.1859, allocations: 15.91 kB / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.186, allocations: 0 / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.1864, allocations: 263.5 kB / 0.8349 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1864, allocations: 3.984 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1865, allocations: 15.92 kB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1867, allocations: 131.9 kB / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1867, allocations: 0 / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1867, allocations: 7.938 kB / 0.835 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1867, allocations: 0 / 0.835 GB, free: 5.883 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.0004047/0.1871, allocations: 290 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1871, allocations: 9.344 kB / 0.8353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1872, allocations: 34.75 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1872, allocations: 8.891 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1873, allocations: 102.5 kB / 0.8355 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1873, allocations: 384 / 0.8355 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.1873, allocations: 12.38 kB / 0.8355 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1874, allocations: 42.25 kB / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1874, allocations: 3.938 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1875, allocations: 4 kB / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1875, allocations: 0 / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.1875, allocations: 15.92 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1878, allocations: 220.1 kB / 0.8357 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.188, allocations: 46.55 kB / 0.8358 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.188, allocations: 20.84 kB / 0.8358 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1881, allocations: 4 kB / 0.8358 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1881, allocations: 34.56 kB / 0.8358 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1881, allocations: 4 kB / 0.8358 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.1882, allocations: 53.62 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1883, allocations: 51.41 kB / 0.8359 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.1884, allocations: 101.8 kB / 0.836 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1884, allocations: 25.7 kB / 0.8361 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.1884, allocations: 92.03 kB / 0.8362 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1884, allocations: 15.84 kB / 0.8362 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1885, allocations: 17.66 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1886, allocations: 322.8 kB / 0.8365 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.1886, allocations: 8 kB / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.1887, allocations: 17.72 kB / 0.8365 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.1887, allocations: 37.64 kB / 0.8366 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1887, allocations: 3.938 kB / 0.8366 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.012e-05/0.1888, allocations: 57.62 kB / 0.8366 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1888, allocations: 4 kB / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1888, allocations: 0 / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1888, allocations: 4 kB / 0.8366 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.1889, allocations: 4 kB / 0.8366 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1889, allocations: 8.031 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.1889, allocations: 4 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.1889, allocations: 0 / 0.8366 GB, free: 4.031 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 0.0001032/0.189, allocations: 118.4 kB / 0.8367 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.189, allocations: 3.953 kB / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.1892, allocations: 61.31 kB / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1892, allocations: 0 / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1892, allocations: 0 / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1892, allocations: 0 / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1894, allocations: 136.7 kB / 0.8369 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1894, allocations: 4 kB / 0.8369 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.1894, allocations: 8 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1894, allocations: 4.469 kB / 0.837 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1894, allocations: 4.125 kB / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1894, allocations: 3.984 kB / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1894, allocations: 0 / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1895, allocations: 151.5 kB / 0.8371 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.1896, allocations: 11.94 kB / 0.8371 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.1896, allocations: 0 / 0.8371 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.1896, allocations: 3.938 kB / 0.8371 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.1896, allocations: 4 kB / 0.8371 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1896, allocations: 7.938 kB / 0.8371 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.1897, allocations: 75.28 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1897, allocations: 3.938 kB / 0.8372 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002358/0.1899, allocations: 31.86 kB / 0.8372 GB, free: 3.328 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.0004745/0.1904, allocations: 0.6889 MB / 0.8379 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.1905, allocations: 27.92 kB / 0.8379 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1905, allocations: 0 / 0.8379 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.1905, allocations: 12 kB / 0.838 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.1907, allocations: 4.062 kB / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.1911, allocations: 168.4 kB / 0.8381 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.1912, allocations: 59.34 kB / 0.8382 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.1912, allocations: 4 kB / 0.8382 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1912, allocations: 7.438 kB / 0.8382 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1912, allocations: 0 / 0.8382 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.2193, allocations: 1.902 MB / 0.84 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.04, allocations: 4 kB / 0.84 GB, free: 0.5156 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 & 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: 15.206155218183994] Failed to read output from testmodel.py, exit status != 0: 11.146367787849158 11.162414998 10.972798531 Calling exit ...