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.001244/0.001244, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001364/0.001364, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.228/1.228, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 288.6 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.864/0.864, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 93.28 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1503, allocations: 86.99 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002316/0.1527, allocations: 1.234 MB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.1536, allocations: 0.5915 MB / 0.6826 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1537, allocations: 0 / 0.6826 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.1537, allocations: 0 / 0.6826 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.675e-05/0.1538, allocations: 4 kB / 0.6826 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.1543, allocations: 139.4 kB / 0.6828 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.1543, allocations: 15.94 kB / 0.6828 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.1544, allocations: 0 / 0.6828 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.1544, allocations: 3.984 kB / 0.6828 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.1544, allocations: 11.92 kB / 0.6828 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1545, allocations: 0 / 0.6828 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1549, allocations: 343.3 kB / 0.6831 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.155, allocations: 7.984 kB / 0.6831 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.155, allocations: 0 / 0.6831 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1552, allocations: 143.9 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1552, allocations: 0 / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1552, allocations: 0 / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1553, allocations: 0 / 0.6833 GB, free: 5.656 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.0003595/0.1556, allocations: 347.5 kB / 0.6836 GB, free: 5.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1557, allocations: 12.03 kB / 0.6836 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1557, allocations: 0.9375 kB / 0.6836 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1558, allocations: 168.4 kB / 0.6838 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1558, allocations: 384 / 0.6838 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1558, allocations: 4.375 kB / 0.6838 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.1559, allocations: 30.27 kB / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1559, allocations: 192 / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1559, allocations: 3.938 kB / 0.6838 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.156, allocations: 0 / 0.6838 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.156, allocations: 15.88 kB / 0.6838 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.1561, allocations: 149.7 kB / 0.684 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.1562, allocations: 30.61 kB / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.1562, allocations: 4.859 kB / 0.684 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1562, allocations: 7.922 kB / 0.684 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1563, allocations: 34.62 kB / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1563, allocations: 0 / 0.684 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001264/0.1564, allocations: 49.48 kB / 0.6841 GB, free: 4.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1564, allocations: 55.53 kB / 0.6841 GB, free: 4.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.1565, allocations: 97.84 kB / 0.6842 GB, free: 4.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1565, allocations: 29.7 kB / 0.6843 GB, free: 4.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.1566, allocations: 80.14 kB / 0.6843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1566, allocations: 0 / 0.6843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1566, allocations: 13.72 kB / 0.6844 GB, free: 4.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.1567, allocations: 314.8 kB / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.1567, allocations: 4 kB / 0.6847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-06/0.1567, allocations: 4.125 kB / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.1568, allocations: 12.84 kB / 0.6847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1568, allocations: 4 kB / 0.6847 GB, free: 3.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.348e-05/0.1568, allocations: 45.55 kB / 0.6847 GB, free: 3.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1569, allocations: 4 kB / 0.6847 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1569, allocations: 3.938 kB / 0.6847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1569, allocations: 0 / 0.6847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.157, allocations: 11.98 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003149/0.1574, allocations: 0.5822 MB / 0.6853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.1574, allocations: 0 / 0.6853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1574, allocations: 4.031 kB / 0.6853 GB, free: 3.312 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.882e-05/0.1575, allocations: 117.7 kB / 0.6854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.1575, allocations: 0 / 0.6854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.584e-05/0.1576, allocations: 48.91 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1576, allocations: 0 / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1576, allocations: 4 kB / 0.6855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1576, allocations: 0 / 0.6855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.1577, allocations: 149.6 kB / 0.6856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1577, allocations: 3.984 kB / 0.6856 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1578, allocations: 11.98 kB / 0.6856 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1578, allocations: 4 kB / 0.6856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.1578, allocations: 3.938 kB / 0.6856 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00025/0.1581, allocations: 0.586 MB / 0.6862 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1581, allocations: 3.938 kB / 0.6862 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.189e-05/0.1582, allocations: 69 kB / 0.6863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1582, allocations: 85.05 kB / 0.6864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.1582, allocations: 4 kB / 0.6864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.1582, allocations: 4.125 kB / 0.6864 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.1582, allocations: 3.938 kB / 0.6864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1583, allocations: 4 kB / 0.6864 GB, free: 2.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.1583, allocations: 79.28 kB / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001965/0.1585, allocations: 12 kB / 0.6865 GB, free: 2.004 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.0001423/0.1586, allocations: 116.2 kB / 0.6866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1588, allocations: 24.84 kB / 0.6866 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1588, allocations: 0 / 0.6866 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.1589, allocations: 11.98 kB / 0.6866 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.159, allocations: 4 kB / 0.6866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.1593, allocations: 127.8 kB / 0.6867 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1595, allocations: 0.673 MB / 0.6874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.1595, allocations: 11.44 kB / 0.6874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1595, allocations: 0 / 0.6874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Templates: time 0.001892/0.1614, allocations: 0.7005 MB / 0.6881 GB, free: 284 kB / 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)