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.001063/0.001063, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 187.3 kB / 16.25 MB, free: 6.617 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 294.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 99.36 kB / 0.5947 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 86.98 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002283/0.158, allocations: 1.305 MB / 0.6809 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.1589, allocations: 0.5922 MB / 0.6815 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.1589, allocations: 0 / 0.6815 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.1589, allocations: 0 / 0.6815 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.159, allocations: 0 / 0.6815 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1594, allocations: 123.6 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.1595, allocations: 15.92 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.1595, allocations: 4 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.1596, allocations: 3.984 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.1596, allocations: 7.938 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1596, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.1601, allocations: 343.3 kB / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.1601, allocations: 0 / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.1601, allocations: 7.969 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1603, allocations: 143.9 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1604, allocations: 0 / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1604, allocations: 0 / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1604, allocations: 0 / 0.6821 GB, free: 14.57 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.0003801/0.1608, allocations: 351.5 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1608, allocations: 12.03 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1608, allocations: 0.9375 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1609, allocations: 160.4 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.161, allocations: 384 / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.161, allocations: 8.375 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.235e-05/0.1611, allocations: 30.25 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1611, allocations: 192 / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1611, allocations: 11.94 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1611, allocations: 0 / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.1611, allocations: 3.938 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1613, allocations: 153.7 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.604e-05/0.1614, allocations: 22.67 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.1614, allocations: 12.8 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1614, allocations: 0 / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1614, allocations: 34.56 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1614, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.1616, allocations: 57.41 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1616, allocations: 51.41 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.1617, allocations: 102 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1617, allocations: 25.7 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.1617, allocations: 80.14 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1618, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1618, allocations: 13.72 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1619, allocations: 318.8 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.1619, allocations: 4 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.1619, allocations: 0 / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.162, allocations: 13.05 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.162, allocations: 0 / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.672e-05/0.162, allocations: 53.53 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1621, allocations: 6.344 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1621, allocations: 3.938 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1621, allocations: 0 / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1622, allocations: 8 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003354/0.1626, allocations: 0.5822 MB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.1626, allocations: 7.984 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1626, allocations: 4.031 kB / 0.6842 GB, free: 12.22 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 6.608e-05/0.1627, allocations: 120.7 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.1627, allocations: 0 / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1628, allocations: 48.8 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1628, allocations: 4.125 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1628, allocations: 0 / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1628, allocations: 4 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.964e-05/0.1629, allocations: 145.6 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1629, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.163, allocations: 11.98 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.163, allocations: 0 / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.163, allocations: 4 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002865/0.1633, allocations: 0.5937 MB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1633, allocations: 7.875 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.293e-05/0.1634, allocations: 61.16 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.1635, allocations: 81.05 kB / 0.6852 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1635, allocations: 4 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.1635, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.1635, allocations: 11.86 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1635, allocations: 4.125 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.1636, allocations: 79.28 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.354e-06/0.1636, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.1638, allocations: 11.94 kB / 0.6853 GB, free: 10.92 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.0001614/0.1639, allocations: 107.2 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1641, allocations: 23.98 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1641, allocations: 160 / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.1642, allocations: 15.98 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1643, allocations: 4 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.1647, allocations: 106.1 kB / 0.6855 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.165, allocations: 0.6768 MB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.676e-05/0.165, allocations: 4.062 kB / 0.6862 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.165, allocations: 7.438 kB / 0.6862 GB, free: 9.918 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.165, allocations: 0 / 0.6862 GB, free: 9.918 MB / 494.1 MB Notification: Performance of Templates: time 0.002329/0.1673, allocations: 438.7 kB / 0.6866 GB, free: 9.527 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)