Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000996/0.000996, allocations: 108 kB / 15.6 MB, free: 132 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.001076/0.001077, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 91.14 kB / 0.5952 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1565, allocations: 86.99 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002392/0.1589, allocations: 1.234 MB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.1598, allocations: 0.5843 MB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.1599, allocations: 0 / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1599, allocations: 0 / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.16, allocations: 11.92 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.1606, allocations: 146.6 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.1606, allocations: 15.86 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.1607, allocations: 4 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.1607, allocations: 4 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.106e-05/0.1607, allocations: 3.938 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1608, allocations: 4 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.1613, allocations: 339.4 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1613, allocations: 0 / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1613, allocations: 11.94 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1616, allocations: 144 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1616, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1616, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1616, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.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.0003684/0.162, allocations: 351.4 kB / 0.6829 GB, free: 13.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.162, allocations: 8.031 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.1621, allocations: 0.9375 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1622, allocations: 172.3 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1622, allocations: 384 / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.1622, allocations: 4.375 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.906e-05/0.1623, allocations: 38.25 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1623, allocations: 192 / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1624, allocations: 7.938 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1624, allocations: 0 / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.1624, allocations: 4 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.1625, allocations: 149.7 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.1626, allocations: 30.5 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1626, allocations: 8.922 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1627, allocations: 4 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1627, allocations: 34.5 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1627, allocations: 0 / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.1628, allocations: 41.55 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1629, allocations: 59.39 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.1629, allocations: 101.9 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.163, allocations: 25.7 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.163, allocations: 80.14 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1631, allocations: 4 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1631, allocations: 13.72 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.1632, allocations: 318.8 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1632, allocations: 0 / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.1632, allocations: 4 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.1633, allocations: 17.05 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1633, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.759e-05/0.1633, allocations: 37.61 kB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1634, allocations: 7.938 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1634, allocations: 3.938 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1634, allocations: 11.92 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1635, allocations: 4 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003339/0.1639, allocations: 0.5861 MB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.1639, allocations: 4 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1639, allocations: 0 / 0.6847 GB, free: 11.86 MB / 494.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 0.0001945/0.1641, allocations: 116.7 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.1641, allocations: 4.031 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/0.1642, allocations: 44.77 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1643, allocations: 4.125 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1643, allocations: 3.984 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1643, allocations: 0 / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.1644, allocations: 153.6 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1644, allocations: 0 / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.1645, allocations: 11.98 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1645, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1645, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002879/0.1648, allocations: 0.5859 MB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1648, allocations: 3.938 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.1649, allocations: 69.09 kB / 0.6856 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.1649, allocations: 84.98 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1649, allocations: 0 / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.165, allocations: 4 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.165, allocations: 3.938 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.165, allocations: 8.125 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.165, allocations: 79.27 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.165, allocations: 0 / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.1652, allocations: 12 kB / 0.6858 GB, free: 10.55 MB / 494.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.0001606/0.1654, allocations: 111.2 kB / 0.6859 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1656, allocations: 19.92 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1656, allocations: 4.156 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.1657, allocations: 12 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1658, allocations: 4 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.1662, allocations: 102.1 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1664, allocations: 0.6729 MB / 0.6867 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.347e-05/0.1664, allocations: 8.062 kB / 0.6867 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.1665, allocations: 7.438 kB / 0.6867 GB, free: 9.555 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1665, allocations: 0 / 0.6867 GB, free: 9.555 MB / 494.1 MB Notification: Performance of Templates: time 0.002912/0.1694, allocations: 443.8 kB / 0.6872 GB, free: 9.156 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)