Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001284/0.001284, allocations: 105 kB / 20.48 MB, free: 1.488 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.001471/0.001471, allocations: 213.1 kB / 23.79 MB, free: 4.703 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9893/0.9893, allocations: 150 MB / 464 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002007/0.002007, allocations: 69.56 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 89.16 MB / 0.7291 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002516/0.1856, allocations: 1.266 MB / 0.7303 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1866, allocations: 0.5954 MB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.1867, allocations: 0 / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.1867, allocations: 3.938 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.1867, allocations: 3.984 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.1872, allocations: 139.4 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.1873, allocations: 11.92 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.1873, allocations: 0 / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1873, allocations: 4 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.1874, allocations: 11.94 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.1874, allocations: 0 / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.1879, allocations: 343.3 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.1879, allocations: 0 / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.188, allocations: 8 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1882, allocations: 139.8 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1882, allocations: 4 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1882, allocations: 0 / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1882, allocations: 0 / 0.7316 GB, free: 14.74 MB / 0.5606 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.0004037/0.1886, allocations: 282 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1887, allocations: 8.031 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.083e-05/0.1887, allocations: 192 / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.1887, allocations: 30.75 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.1887, allocations: 8.891 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1888, allocations: 110.5 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.1888, allocations: 4.375 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1889, allocations: 3.938 kB / 0.732 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.313e-05/0.1889, allocations: 29.7 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.189, allocations: 3.984 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.189, allocations: 0 / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.189, allocations: 0 / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.189, allocations: 7.938 kB / 0.732 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1891, allocations: 124.8 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.1892, allocations: 34.48 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.1892, allocations: 8.922 kB / 0.7322 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1892, allocations: 0 / 0.7322 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1893, allocations: 30.56 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.1893, allocations: 3.938 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.1894, allocations: 49.62 kB / 0.7323 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1894, allocations: 55.53 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.1895, allocations: 89.86 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1895, allocations: 29.7 kB / 0.7324 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.1896, allocations: 80.14 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1896, allocations: 11.94 kB / 0.7325 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1896, allocations: 13.72 kB / 0.7325 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1898, allocations: 310.8 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1898, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.1898, allocations: 12.12 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.1898, allocations: 8.859 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1898, allocations: 0 / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.501e-05/0.1899, allocations: 49.56 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1899, allocations: 10.5 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1899, allocations: 0 / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1899, allocations: 0 / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.19, allocations: 8 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000421/0.1905, allocations: 0.5861 MB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.1905, allocations: 7.891 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1905, allocations: 4 kB / 0.7335 GB, free: 12.54 MB / 0.5606 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 8.84e-05/0.1906, allocations: 113.9 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.1906, allocations: 0 / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1907, allocations: 57.02 kB / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1907, allocations: 0 / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1907, allocations: 0 / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1907, allocations: 3.938 kB / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1908, allocations: 124.8 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1908, allocations: 0 / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.1909, allocations: 8 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1909, allocations: 0 / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.1909, allocations: 0 / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004351/0.1913, allocations: 0.6015 MB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1913, allocations: 0 / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.12e-05/0.1914, allocations: 57.14 kB / 0.7344 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.1914, allocations: 0 / 0.7344 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1914, allocations: 11.92 kB / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.1914, allocations: 0 / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.1915, allocations: 8.125 kB / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.1915, allocations: 0 / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.1915, allocations: 79.28 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001993/0.1917, allocations: 11.88 kB / 0.7345 GB, free: 11.37 MB / 0.5606 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.0005577/0.1923, allocations: 0.6202 MB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1924, allocations: 19.98 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1924, allocations: 0 / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.1925, allocations: 15.94 kB / 0.7352 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1926, allocations: 1.75 kB / 0.7352 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1931, allocations: 143.9 kB / 0.7353 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1934, allocations: 0.6729 MB / 0.736 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.1934, allocations: 0 / 0.736 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.1934, allocations: 7.438 kB / 0.736 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1934, allocations: 0 / 0.736 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.2214, allocations: 1.425 MB / 0.7374 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13, allocations: 10.62 kB / 0.7374 GB, free: 8.543 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.82545794005273] Failed to read output from testmodel.py, exit status != 0: 13.170367405982688 13.195150929 13.002503769 Calling exit ...