Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001198, allocations: 176.5 kB / 326.5 MB, free: 2.633 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007588/0.0007587, allocations: 89.05 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 11.66 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001062/0.1671, allocations: 0.9863 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000746/0.1678, allocations: 0.6127 MB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.1679, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1679, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.1679, allocations: 4 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.1683, allocations: 113.3 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.201e-05/0.1684, allocations: 11.94 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.1684, allocations: 8 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.1684, allocations: 0 / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.1685, allocations: 4 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.1685, allocations: 7.938 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.1689, allocations: 339.3 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1689, allocations: 3.984 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.1689, allocations: 4 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1691, allocations: 100 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1691, allocations: 0 / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1691, allocations: 0 / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.1691, allocations: 4 kB / 0.8989 GB, free: 65.98 MB / 0.6042 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.0002362/0.1693, allocations: 347.4 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1694, allocations: 12.03 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.1694, allocations: 4.938 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.674e-05/0.1695, allocations: 160.4 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1695, allocations: 8.359 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.1695, allocations: 384 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.939e-05/0.1696, allocations: 38.2 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1696, allocations: 192 / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.1696, allocations: 3.938 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1696, allocations: 0 / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.1696, allocations: 8 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.1697, allocations: 153.7 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.1698, allocations: 22.55 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.1698, allocations: 8.922 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1698, allocations: 4 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.1698, allocations: 30.56 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1699, allocations: 7.938 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001085/0.17, allocations: 45.62 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.17, allocations: 51.41 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.1701, allocations: 97.86 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.1701, allocations: 25.7 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.1701, allocations: 80.14 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1701, allocations: 7.891 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.1701, allocations: 9.719 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.1702, allocations: 319.1 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.1702, allocations: 4 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.1702, allocations: 0 / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.1702, allocations: 20.8 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1702, allocations: 0 / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.028e-05/0.1703, allocations: 37.69 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1703, allocations: 4 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1703, allocations: 3.938 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1703, allocations: 8.031 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1705, allocations: 8 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002109/0.1707, allocations: 0.5937 MB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.1707, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.1707, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 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 4.431e-05/0.1708, allocations: 117.9 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.1708, allocations: 4 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.1709, allocations: 52.73 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1709, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1709, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1709, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.188e-05/0.171, allocations: 153.6 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.171, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.1711, allocations: 8 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1711, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.1711, allocations: 7.969 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001574/0.1712, allocations: 0.5899 MB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1713, allocations: 3.938 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.819e-05/0.1713, allocations: 61.17 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.1713, allocations: 85.14 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1713, allocations: 3.984 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.1714, allocations: 0 / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.1714, allocations: 11.81 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1714, allocations: 8 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.54e-05/0.1714, allocations: 75.28 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1714, allocations: 0 / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001976/0.1716, allocations: 8 kB / 0.9021 GB, free: 62.34 MB / 0.6042 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.000119/0.1717, allocations: 119.3 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1719, allocations: 24.02 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1719, allocations: 0 / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.172, allocations: 15.98 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1721, allocations: 0 / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1724, allocations: 134.2 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.164e-05/0.1725, allocations: 0.677 MB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.1725, allocations: 7.438 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.91e-07/0.1725, allocations: 0 / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.001693/0.1742, allocations: 0.6842 MB / 0.9037 GB, free: 60.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)