Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 97.88 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 184.9 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7323/0.7323, allocations: 115.4 MB / 407.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005159, allocations: 8 kB / 495.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.191, allocations: 77.5 MB / 0.5598 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001295/0.1923, allocations: 0.9652 MB / 0.5607 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.1933, allocations: 0.5957 MB / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1933, allocations: 0 / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.1934, allocations: 0 / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.1934, allocations: 3.938 kB / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.1939, allocations: 119.6 kB / 0.5614 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.05e-05/0.194, allocations: 7.938 kB / 0.5614 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.194, allocations: 7.938 kB / 0.5615 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1941, allocations: 0 / 0.5615 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.1941, allocations: 8 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1941, allocations: 0 / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1946, allocations: 347.3 kB / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1946, allocations: 0 / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.1947, allocations: 37.64 kB / 0.5618 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1949, allocations: 128 kB / 0.5619 GB, free: 6.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1949, allocations: 4 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1949, allocations: 0 / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.195, allocations: 0 / 0.562 GB, free: 6.922 MB / 430.1 MB 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.0003373/0.1953, allocations: 355.4 kB / 0.5623 GB, free: 6.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1953, allocations: 16.03 kB / 0.5623 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1954, allocations: 0.9375 kB / 0.5623 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1955, allocations: 164.4 kB / 0.5625 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1955, allocations: 384 / 0.5625 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1955, allocations: 4.359 kB / 0.5625 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.1956, allocations: 34.27 kB / 0.5625 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1956, allocations: 192 / 0.5625 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.1956, allocations: 3.938 kB / 0.5625 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1956, allocations: 4 kB / 0.5625 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.1957, allocations: 4 kB / 0.5625 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1958, allocations: 157.6 kB / 0.5627 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.1959, allocations: 22.55 kB / 0.5627 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.1959, allocations: 8.922 kB / 0.5627 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1959, allocations: 0 / 0.5627 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.196, allocations: 34.56 kB / 0.5627 GB, free: 5.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.196, allocations: 4 kB / 0.5627 GB, free: 5.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.1961, allocations: 49.56 kB / 0.5628 GB, free: 5.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1962, allocations: 55.34 kB / 0.5628 GB, free: 5.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.1962, allocations: 97.86 kB / 0.5629 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1962, allocations: 25.7 kB / 0.5629 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.1963, allocations: 80.14 kB / 0.563 GB, free: 5.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1963, allocations: 3.906 kB / 0.563 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.1963, allocations: 13.7 kB / 0.563 GB, free: 5.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.1964, allocations: 323.1 kB / 0.5633 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.1965, allocations: 0 / 0.5633 GB, free: 5.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.1965, allocations: 4 kB / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.1965, allocations: 8.859 kB / 0.5634 GB, free: 5.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1965, allocations: 0 / 0.5634 GB, free: 5.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.571e-05/0.1966, allocations: 45.62 kB / 0.5634 GB, free: 5.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1966, allocations: 4 kB / 0.5634 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1966, allocations: 3.938 kB / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1966, allocations: 8.094 kB / 0.5634 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1968, allocations: 11.97 kB / 0.5634 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003349/0.1971, allocations: 0.586 MB / 0.564 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1971, allocations: 0 / 0.564 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1972, allocations: 0 / 0.564 GB, free: 4.57 MB / 430.1 MB 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 7.369e-05/0.1972, allocations: 121.9 kB / 0.5641 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.1973, allocations: 4.031 kB / 0.5641 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.1974, allocations: 48.75 kB / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1974, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1974, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1974, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.721e-05/0.1975, allocations: 153.6 kB / 0.5643 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1975, allocations: 0 / 0.5643 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.1976, allocations: 12 kB / 0.5643 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1976, allocations: 0 / 0.5643 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.1976, allocations: 4.031 kB / 0.5643 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002748/0.1979, allocations: 0.582 MB / 0.5649 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1979, allocations: 11.86 kB / 0.5649 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.198, allocations: 65.17 kB / 0.565 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.198, allocations: 81.23 kB / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.198, allocations: 0 / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.198, allocations: 3.984 kB / 0.5651 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.1981, allocations: 7.938 kB / 0.5651 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.1981, allocations: 0 / 0.5651 GB, free: 3.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.921e-05/0.1981, allocations: 75.28 kB / 0.5651 GB, free: 3.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1981, allocations: 0 / 0.5651 GB, free: 3.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002035/0.1983, allocations: 12 kB / 0.5651 GB, free: 3.277 MB / 430.1 MB 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.0001484/0.1985, allocations: 119.2 kB / 0.5653 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1986, allocations: 23.92 kB / 0.5653 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1986, allocations: 0 / 0.5653 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.1987, allocations: 15.98 kB / 0.5653 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1989, allocations: 2.734 kB / 0.5653 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.1992, allocations: 111.3 kB / 0.5654 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.1994, allocations: 0.677 MB / 0.5661 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.1994, allocations: 0 / 0.5661 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.1994, allocations: 7.438 kB / 0.5661 GB, free: 2.266 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1994, allocations: 0 / 0.5661 GB, free: 2.266 MB / 430.1 MB Notification: Performance of Templates: time 0.002291/0.2017, allocations: 421.8 kB / 0.5665 GB, free: 1.875 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)