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.399/1.399, allocations: 252 MB / 268 MB, free: 10.84 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.000927/0.0009272, allocations: 180.5 kB / 327.6 MB, free: 2.082 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.552/1.552, allocations: 205.4 MB / 0.5786 GB, free: 20.45 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.0009622/0.0009623, allocations: 77.95 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 13.3 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1685, allocations: 106.3 MB / 0.9015 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00112/0.1696, allocations: 0.9777 MB / 0.9024 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.1705, allocations: 0.6008 MB / 0.903 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.1705, allocations: 0 / 0.903 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.1705, allocations: 4 kB / 0.903 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.1706, allocations: 0 / 0.903 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1709, allocations: 114.6 kB / 0.9031 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.171, allocations: 19.92 kB / 0.9031 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.171, allocations: 0 / 0.9031 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.171, allocations: 3.984 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.1711, allocations: 7.938 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1711, allocations: 0 / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.1715, allocations: 339.3 kB / 0.9035 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.1715, allocations: 7.984 kB / 0.9035 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1715, allocations: 33.69 kB / 0.9035 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1717, allocations: 88.06 kB / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1717, allocations: 0 / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1717, allocations: 0 / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.1717, allocations: 8 kB / 0.9036 GB, free: 61.61 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.0002579/0.172, allocations: 347.5 kB / 0.9039 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.172, allocations: 8.031 kB / 0.9039 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.172, allocations: 4.938 kB / 0.9039 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.1721, allocations: 160.4 kB / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1721, allocations: 384 / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.1721, allocations: 384 / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.338e-05/0.1722, allocations: 38.19 kB / 0.9041 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1722, allocations: 4.188 kB / 0.9041 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1723, allocations: 7.875 kB / 0.9041 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1723, allocations: 4 kB / 0.9041 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.1723, allocations: 8 kB / 0.9041 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.1724, allocations: 149.7 kB / 0.9043 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.1724, allocations: 22.61 kB / 0.9043 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.1725, allocations: 8.922 kB / 0.9043 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1725, allocations: 7.984 kB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.1725, allocations: 34.5 kB / 0.9044 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1725, allocations: 0 / 0.9044 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001113/0.1726, allocations: 49.62 kB / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.1727, allocations: 51.41 kB / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.321e-05/0.1727, allocations: 93.86 kB / 0.9045 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.1727, allocations: 25.7 kB / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.339e-05/0.1727, allocations: 88.39 kB / 0.9047 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1728, allocations: 7.844 kB / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.1728, allocations: 0 / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.1728, allocations: 314.8 kB / 0.905 GB, free: 60 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.1728, allocations: 4 kB / 0.905 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.1728, allocations: 3.938 kB / 0.905 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.1729, allocations: 20.8 kB / 0.905 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1729, allocations: 0 / 0.905 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.81e-05/0.1729, allocations: 41.77 kB / 0.905 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1729, allocations: 6.344 kB / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.173, allocations: 3.938 kB / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.173, allocations: 3.984 kB / 0.905 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1731, allocations: 8.031 kB / 0.9051 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002075/0.1733, allocations: 0.5898 MB / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.1734, allocations: 0 / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1734, allocations: 4.125 kB / 0.9056 GB, free: 59.28 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.731e-05/0.1734, allocations: 116.8 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-06/0.1734, allocations: 4 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.1735, allocations: 44.81 kB / 0.9058 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1735, allocations: 3.984 kB / 0.9058 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1735, allocations: 0 / 0.9058 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1736, allocations: 0 / 0.9058 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.251e-05/0.1736, allocations: 157.7 kB / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1736, allocations: 0 / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.1737, allocations: 19.92 kB / 0.906 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1737, allocations: 0 / 0.906 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.1737, allocations: 0 / 0.906 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001572/0.1739, allocations: 0.5782 MB / 0.9065 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1739, allocations: 3.938 kB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.948e-05/0.1739, allocations: 73.19 kB / 0.9066 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.174, allocations: 81.02 kB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.174, allocations: 3.938 kB / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.174, allocations: 0 / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.174, allocations: 3.938 kB / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.174, allocations: 7.984 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.501e-05/0.174, allocations: 79.28 kB / 0.9068 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 4.125 kB / 0.9068 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001675/0.1742, allocations: 8 kB / 0.9068 GB, free: 57.98 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.0001293/0.1744, allocations: 113.2 kB / 0.9069 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.1745, allocations: 19.92 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1745, allocations: 0 / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.1746, allocations: 12 kB / 0.9069 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1747, allocations: 8.125 kB / 0.9069 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.175, allocations: 136.9 kB / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.1751, allocations: 0.6731 MB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.1752, allocations: 7.438 kB / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1752, allocations: 0 / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.001762/0.1769, allocations: 0.6903 MB / 0.9084 GB, free: 56.26 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)