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.001298/0.001298, 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.00175/0.00175, allocations: 212.6 kB / 22.25 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.797 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.0025/0.0025, allocations: 306.4 kB / 312.7 MB, free: 2.617 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.247/1.247, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.002898/0.002898, allocations: 109.8 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1847, allocations: 95.39 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002908/0.1876, allocations: 1.27 MB / 0.8339 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1888, allocations: 0.5236 MB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.1888, allocations: 3.938 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.1889, allocations: 0 / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.1889, allocations: 0 / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.1896, allocations: 139.4 kB / 0.8345 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.1897, allocations: 11.94 kB / 0.8345 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.1897, allocations: 0 / 0.8345 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.1897, allocations: 8 kB / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.1898, allocations: 7.922 kB / 0.8346 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1898, allocations: 4 kB / 0.8346 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.1903, allocations: 271.4 kB / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1903, allocations: 0 / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.1904, allocations: 0 / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.1906, allocations: 139.8 kB / 0.835 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1907, allocations: 0 / 0.835 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1907, allocations: 0 / 0.835 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.1907, allocations: 4 kB / 0.835 GB, free: 5.957 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.0004507/0.1911, allocations: 278 kB / 0.8352 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1912, allocations: 8.75 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.1912, allocations: 38.73 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.1913, allocations: 4.938 kB / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1914, allocations: 102.5 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1914, allocations: 4.375 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1914, allocations: 384 / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1915, allocations: 38.2 kB / 0.8354 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1915, allocations: 3.938 kB / 0.8354 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1915, allocations: 0 / 0.8354 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1915, allocations: 4 kB / 0.8354 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.1916, allocations: 3.984 kB / 0.8354 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.1918, allocations: 128.7 kB / 0.8355 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.1918, allocations: 18.67 kB / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.1918, allocations: 8.859 kB / 0.8356 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1919, allocations: 0 / 0.8356 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.1919, allocations: 46.42 kB / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1919, allocations: 0 / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.1921, allocations: 41.64 kB / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1921, allocations: 51.41 kB / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.1922, allocations: 98.08 kB / 0.8358 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1922, allocations: 29.73 kB / 0.8358 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1923, allocations: 84.12 kB / 0.8359 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1923, allocations: 7.953 kB / 0.8359 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1923, allocations: 9.719 kB / 0.8359 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1925, allocations: 314.8 kB / 0.8362 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.1925, allocations: 4 kB / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.1925, allocations: 4 kB / 0.8362 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.1925, allocations: 16.8 kB / 0.8363 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1926, allocations: 0 / 0.8363 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.056e-05/0.1926, allocations: 41.75 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1926, allocations: 7.938 kB / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1927, allocations: 0 / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1927, allocations: 4 kB / 0.8363 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.1928, allocations: 11.98 kB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004444/0.1933, allocations: 0.5859 MB / 0.8369 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1933, allocations: 0 / 0.8369 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1933, allocations: 0 / 0.8369 GB, free: 3.766 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 0.0001062/0.1934, allocations: 118.6 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.1934, allocations: 4 kB / 0.837 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1935, allocations: 52.92 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1935, allocations: 0 / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1935, allocations: 0 / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1935, allocations: 0 / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.1937, allocations: 124.7 kB / 0.8372 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1937, allocations: 0 / 0.8372 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.1937, allocations: 11.94 kB / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1938, allocations: 0 / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1938, allocations: 4 kB / 0.8372 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000377/0.1941, allocations: 0.5938 MB / 0.8378 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1941, allocations: 3.938 kB / 0.8378 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.918e-05/0.1942, allocations: 61.17 kB / 0.8378 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.1942, allocations: 3.938 kB / 0.8378 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1943, allocations: 11.92 kB / 0.8378 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.1943, allocations: 0 / 0.8378 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1943, allocations: 3.938 kB / 0.8378 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1943, allocations: 4 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.1943, allocations: 79.41 kB / 0.8379 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1943, allocations: 0 / 0.8379 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001895/0.1945, allocations: 8 kB / 0.8379 GB, free: 2.586 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.0005103/0.195, allocations: 0.6085 MB / 0.8385 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.1952, allocations: 19.92 kB / 0.8385 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.1952, allocations: 4 kB / 0.8386 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.1953, allocations: 11.98 kB / 0.8386 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1954, allocations: 12.19 kB / 0.8386 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.196, allocations: 135.9 kB / 0.8387 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.196, allocations: 59.3 kB / 0.8388 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.196, allocations: 0 / 0.8388 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1961, allocations: 11.44 kB / 0.8388 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.1961, allocations: 0 / 0.8388 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.226, allocations: 1.799 MB / 0.8405 GB, free: 16 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.31, allocations: 20.34 kB / 0.8405 GB, free: 4 kB / 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: 16.511058458592743] Failed to read output from testmodel.py, exit status != 0: 12.419218622148037 12.435560729 12.241766149 Calling exit ...