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.001378/0.001378, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001597/0.001597, allocations: 219.7 kB / 23 MB, free: 5.004 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.995/0.995, allocations: 150 MB / 463.2 MB, free: 10.53 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="me",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="me",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.002304/0.002304, allocations: 66.14 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1921, allocations: 89.17 MB / 0.7283 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002671/0.1947, allocations: 1.262 MB / 0.7296 GB, free: 48 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1958, allocations: 0.5954 MB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.1959, allocations: 0 / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.1959, allocations: 3.938 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.1959, allocations: 0 / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.1966, allocations: 139.4 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.1966, allocations: 15.94 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.1967, allocations: 4 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1967, allocations: 4 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1968, allocations: 7.922 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1968, allocations: 0 / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.1973, allocations: 347.3 kB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1974, allocations: 0 / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.1974, allocations: 0 / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1977, allocations: 143.9 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1977, allocations: 0 / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1977, allocations: 0 / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1977, allocations: 0 / 0.7308 GB, free: 14.8 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.0004396/0.1982, allocations: 278 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1982, allocations: 16.02 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.1983, allocations: 34.75 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1983, allocations: 4.891 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1984, allocations: 102.5 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1984, allocations: 4.375 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1984, allocations: 4.125 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1985, allocations: 33.7 kB / 0.7313 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1985, allocations: 0 / 0.7313 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1985, allocations: 0 / 0.7313 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1986, allocations: 0 / 0.7313 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.1986, allocations: 11.98 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1987, allocations: 116.7 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.1988, allocations: 30.59 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.1988, allocations: 12.78 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1989, allocations: 7.938 kB / 0.7314 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1989, allocations: 34.62 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1989, allocations: 0 / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.1991, allocations: 41.64 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1991, allocations: 51.41 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.1992, allocations: 97.84 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1992, allocations: 33.64 kB / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.1992, allocations: 84.39 kB / 0.7318 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1993, allocations: 3.953 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1993, allocations: 13.72 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1994, allocations: 314.8 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.1995, allocations: 4 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.1995, allocations: 3.984 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.1995, allocations: 12.86 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1995, allocations: 8.062 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.104e-05/0.1996, allocations: 45.58 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1996, allocations: 4 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1996, allocations: 3.984 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1996, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1998, allocations: 11.98 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/0.2002, allocations: 0.5782 MB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.2002, allocations: 8.078 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2003, allocations: 7.969 kB / 0.7327 GB, free: 12.59 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 9.762e-05/0.2004, allocations: 115.8 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.2004, allocations: 0 / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2005, allocations: 48.94 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2005, allocations: 0 / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2005, allocations: 4 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2005, allocations: 0 / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.2006, allocations: 128.7 kB / 0.733 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2006, allocations: 4 kB / 0.733 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.2007, allocations: 7.984 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2007, allocations: 4 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.2007, allocations: 0 / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003722/0.2011, allocations: 0.5859 MB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2011, allocations: 0 / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.26e-05/0.2011, allocations: 73.19 kB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.2012, allocations: 4 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2012, allocations: 3.938 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.2012, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.2012, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.2012, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.2012, allocations: 79.31 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2012, allocations: 4.094 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002072/0.2014, allocations: 11.94 kB / 0.7338 GB, free: 11.43 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.0004656/0.2019, allocations: 0.6162 MB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.2021, allocations: 27.95 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2021, allocations: 0 / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.2022, allocations: 11.98 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.2023, allocations: 0 / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.2028, allocations: 135.7 kB / 0.7345 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2032, allocations: 0.6767 MB / 0.7352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.2032, allocations: 8.109 kB / 0.7352 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.2032, allocations: 7.438 kB / 0.7352 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2032, allocations: 0 / 0.7352 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.2332, allocations: 1.399 MB / 0.7366 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.13, allocations: 14.83 kB / 0.7366 GB, free: 8.609 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: 17.040195094887167] Failed to read output from testmodel.py, exit status != 0: 13.25984851596877 13.294315408 13.090265674 Calling exit ...