Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001336/0.001336, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001454/0.001454, allocations: 217 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002436/0.002436, allocations: 283 kB / 313.5 MB, free: 2.836 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.212/1.212, allocations: 180.6 MB / 0.5377 GB, free: 13 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_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",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.002845/0.002845, allocations: 94.36 kB / 0.7403 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1823, allocations: 95.39 MB / 0.8335 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002585/0.1849, allocations: 1.275 MB / 0.8347 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.186, allocations: 0.6053 MB / 0.8353 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.186, allocations: 0 / 0.8353 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.1861, allocations: 3.938 kB / 0.8353 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.1861, allocations: 0 / 0.8353 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.1866, allocations: 139.4 kB / 0.8355 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.1867, allocations: 7.938 kB / 0.8355 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1867, allocations: 4 kB / 0.8355 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.1868, allocations: 0 / 0.8355 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.1868, allocations: 15.97 kB / 0.8355 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1868, allocations: 4 kB / 0.8355 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.1874, allocations: 339.3 kB / 0.8358 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.1874, allocations: 4 kB / 0.8358 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.1874, allocations: 0 / 0.8358 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1877, allocations: 143.8 kB / 0.836 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1877, allocations: 0 / 0.836 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1877, allocations: 3.938 kB / 0.836 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1877, allocations: 0 / 0.836 GB, free: 6.129 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.0004238/0.1881, allocations: 288.5 kB / 0.8362 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1882, allocations: 16.75 kB / 0.8363 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.1882, allocations: 4.188 kB / 0.8363 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.1882, allocations: 30.75 kB / 0.8363 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.1883, allocations: 0.9375 kB / 0.8363 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1884, allocations: 110.5 kB / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.1884, allocations: 384 / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1884, allocations: 384 / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1885, allocations: 38 kB / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1885, allocations: 0 / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1885, allocations: 4 kB / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1885, allocations: 0 / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.1885, allocations: 7.938 kB / 0.8364 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1887, allocations: 124.7 kB / 0.8366 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.1888, allocations: 30.58 kB / 0.8366 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.1888, allocations: 8.922 kB / 0.8366 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1888, allocations: 0 / 0.8366 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1888, allocations: 38.5 kB / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.1888, allocations: 0 / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.189, allocations: 41.64 kB / 0.8367 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.189, allocations: 59.39 kB / 0.8367 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.1891, allocations: 93.8 kB / 0.8368 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1891, allocations: 25.7 kB / 0.8368 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.1892, allocations: 84.14 kB / 0.8369 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1892, allocations: 12.2 kB / 0.8369 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.1892, allocations: 9.719 kB / 0.8369 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1894, allocations: 318.8 kB / 0.8373 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1894, allocations: 0 / 0.8373 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-06/0.1894, allocations: 4 kB / 0.8373 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.1894, allocations: 12.86 kB / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1894, allocations: 0 / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/0.1895, allocations: 45.7 kB / 0.8373 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1896, allocations: 9.969 kB / 0.8373 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1896, allocations: 4 kB / 0.8373 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1896, allocations: 3.984 kB / 0.8373 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1897, allocations: 8 kB / 0.8373 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.1902, allocations: 0.5782 MB / 0.8379 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.1902, allocations: 0 / 0.8379 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1902, allocations: 128 / 0.8379 GB, free: 3.93 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.0001392/0.1903, allocations: 118.4 kB / 0.838 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.1903, allocations: 7.969 kB / 0.838 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1904, allocations: 48.89 kB / 0.8381 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1904, allocations: 0 / 0.8381 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1904, allocations: 3.984 kB / 0.8381 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1905, allocations: 0 / 0.8381 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.1906, allocations: 128.7 kB / 0.8382 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1906, allocations: 4.031 kB / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.1906, allocations: 11.98 kB / 0.8382 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1906, allocations: 0 / 0.8382 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1906, allocations: 4 kB / 0.8382 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003538/0.191, allocations: 0.5859 MB / 0.8388 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.191, allocations: 0 / 0.8388 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/0.1911, allocations: 69.25 kB / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.1911, allocations: 0 / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1911, allocations: 0 / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.751e-05/0.1911, allocations: 3.938 kB / 0.8389 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1911, allocations: 4 kB / 0.8389 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1911, allocations: 7.938 kB / 0.8389 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.1912, allocations: 79.27 kB / 0.8389 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1912, allocations: 0 / 0.8389 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001948/0.1914, allocations: 12.12 kB / 0.839 GB, free: 2.746 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.0004506/0.1918, allocations: 0.6046 MB / 0.8395 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.192, allocations: 19.98 kB / 0.8396 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.192, allocations: 4.094 kB / 0.8396 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.1921, allocations: 15.98 kB / 0.8396 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1922, allocations: 7.875 kB / 0.8396 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.1927, allocations: 135.9 kB / 0.8397 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.193, allocations: 0.6768 MB / 0.8404 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.193, allocations: 0 / 0.8404 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.1931, allocations: 11.5 kB / 0.8404 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.1931, allocations: 4 kB / 0.8404 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.2152, allocations: 1.427 MB / 0.8418 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.33, allocations: 9.328 kB / 0.8418 GB, free: 15.93 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.466908127011266] Failed to read output from testmodel.py, exit status != 0: 12.495722926978488 12.51160241 12.320909995 Calling exit ...