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.001448/0.001448, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001549/0.001549, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9673/0.9673, allocations: 149.9 MB / 463 MB, free: 10.38 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.002089/0.002089, allocations: 67.73 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.191, allocations: 89.17 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002634/0.1936, allocations: 1.267 MB / 0.7294 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1946, allocations: 0.506 MB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.1946, allocations: 4 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.1946, allocations: 0 / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.1947, allocations: 7.922 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.1953, allocations: 135.4 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.1953, allocations: 12 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1954, allocations: 3.984 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.1954, allocations: 4 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1954, allocations: 7.875 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1954, allocations: 4 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.1959, allocations: 271.5 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1959, allocations: 0 / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1959, allocations: 7.938 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1961, allocations: 135.9 kB / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1961, allocations: 0 / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1961, allocations: 0 / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1962, allocations: 3.938 kB / 0.7305 GB, free: 14.67 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.0004688/0.1966, allocations: 278 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1967, allocations: 12.03 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.1967, allocations: 30.75 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.1967, allocations: 4.938 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.1969, allocations: 106.5 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1969, allocations: 4.375 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1969, allocations: 4.125 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.197, allocations: 33.69 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1971, allocations: 0 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.1971, allocations: 0 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1971, allocations: 0 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.1971, allocations: 7.938 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.1974, allocations: 120.8 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.1974, allocations: 26.59 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.1975, allocations: 20.84 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1975, allocations: 3.938 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1975, allocations: 30.56 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1975, allocations: 0 / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.1977, allocations: 49.62 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1977, allocations: 51.41 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.1978, allocations: 93.86 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1978, allocations: 29.95 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.1979, allocations: 80.14 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1979, allocations: 3.953 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1979, allocations: 17.72 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.1981, allocations: 314.8 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.1982, allocations: 4 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.1982, allocations: 0 / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.1982, allocations: 16.86 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1982, allocations: 0 / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.435e-05/0.1983, allocations: 45.67 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1983, allocations: 8 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1983, allocations: 0 / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1983, allocations: 3.984 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1984, allocations: 12 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004671/0.1989, allocations: 0.5821 MB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.1989, allocations: 7.969 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1989, allocations: 3.938 kB / 0.7324 GB, free: 12.47 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.859e-05/0.199, allocations: 109.8 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.199, allocations: 8.094 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1992, allocations: 44.95 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1992, allocations: 3.984 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1992, allocations: 0 / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1992, allocations: 0 / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1993, allocations: 124.7 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1993, allocations: 0 / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.1994, allocations: 11.98 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1994, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1994, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004192/0.1998, allocations: 0.5898 MB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1998, allocations: 0 / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.1999, allocations: 69.09 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.1999, allocations: 3.953 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1999, allocations: 7.938 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.1999, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.1999, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.1999, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.2, allocations: 83.41 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2, allocations: 4.094 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001933/0.2002, allocations: 15.92 kB / 0.7334 GB, free: 11.3 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.0004783/0.2006, allocations: 0.6084 MB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.2008, allocations: 19.98 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2008, allocations: 0 / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.2009, allocations: 11.98 kB / 0.7341 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.201, allocations: 10.12 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.2015, allocations: 135.8 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.033e-05/0.2016, allocations: 63.28 kB / 0.7343 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.2016, allocations: 0 / 0.7343 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.2016, allocations: 7.438 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2016, allocations: 0 / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.2335, allocations: 1.813 MB / 0.736 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/12.86, allocations: 9.359 kB / 0.736 GB, free: 8.715 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.74772584391758] Failed to read output from testmodel.py, exit status != 0: 12.975838961079717 12.991851508 12.792650128 Calling exit ...