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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001438/0.001438, allocations: 194.8 kB / 16.14 MB, free: 6.637 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002615, allocations: 279.1 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 93.45 kB / 0.6057 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.164, allocations: 89.16 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002867/0.1669, allocations: 1.297 MB / 0.6941 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.168, allocations: 0.6161 MB / 0.6947 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.1681, allocations: 4 kB / 0.6947 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.1681, allocations: 0 / 0.6947 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.1682, allocations: 7.938 kB / 0.6947 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.1686, allocations: 114.7 kB / 0.6948 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.1687, allocations: 15.98 kB / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1687, allocations: 0 / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.1687, allocations: 0 / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.1688, allocations: 11.92 kB / 0.6948 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1688, allocations: 3.938 kB / 0.6948 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.1693, allocations: 339.4 kB / 0.6951 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1693, allocations: 0 / 0.6951 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.1694, allocations: 11.97 kB / 0.6951 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1696, allocations: 143.9 kB / 0.6953 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1697, allocations: 0 / 0.6953 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1697, allocations: 0 / 0.6953 GB, free: 2.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1697, allocations: 0 / 0.6953 GB, free: 2.27 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.0004735/0.1702, allocations: 347.5 kB / 0.6956 GB, free: 1.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1702, allocations: 8.031 kB / 0.6956 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1702, allocations: 12.88 kB / 0.6956 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1704, allocations: 164.3 kB / 0.6958 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1704, allocations: 4.312 kB / 0.6958 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1704, allocations: 4.375 kB / 0.6958 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1705, allocations: 34.25 kB / 0.6958 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1705, allocations: 192 / 0.6958 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1706, allocations: 3.938 kB / 0.6958 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1706, allocations: 0 / 0.6958 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.1706, allocations: 8 kB / 0.6958 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1708, allocations: 153.7 kB / 0.696 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.997e-05/0.1709, allocations: 26.55 kB / 0.696 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.1709, allocations: 8.922 kB / 0.696 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1709, allocations: 0 / 0.696 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.171, allocations: 34.5 kB / 0.6961 GB, free: 1.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.171, allocations: 0 / 0.6961 GB, free: 1.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001798/0.1711, allocations: 57.61 kB / 0.6961 GB, free: 1.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1712, allocations: 51.41 kB / 0.6962 GB, free: 1.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.1713, allocations: 93.86 kB / 0.6963 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1713, allocations: 29.7 kB / 0.6963 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1713, allocations: 80.14 kB / 0.6964 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1714, allocations: 3.906 kB / 0.6964 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.1714, allocations: 17.66 kB / 0.6964 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1716, allocations: 319.1 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.1716, allocations: 4 kB / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.1716, allocations: 4 kB / 0.6967 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.1716, allocations: 8.859 kB / 0.6967 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1716, allocations: 0 / 0.6967 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.327e-05/0.1717, allocations: 37.7 kB / 0.6967 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1717, allocations: 11.98 kB / 0.6967 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1717, allocations: 3.938 kB / 0.6968 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1718, allocations: 0 / 0.6968 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1719, allocations: 12.09 kB / 0.6968 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004251/0.1723, allocations: 0.5821 MB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.1724, allocations: 3.984 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1724, allocations: 0 / 0.6973 GB, free: 15.92 MB / 0.4981 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 9.538e-05/0.1725, allocations: 117.8 kB / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.1725, allocations: 4.094 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1726, allocations: 52.69 kB / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1726, allocations: 0 / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1726, allocations: 0 / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1726, allocations: 0 / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1728, allocations: 153.5 kB / 0.6976 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1728, allocations: 0 / 0.6976 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.1729, allocations: 11.98 kB / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1729, allocations: 0 / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1729, allocations: 0 / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003756/0.1733, allocations: 0.5822 MB / 0.6982 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1733, allocations: 3.938 kB / 0.6982 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.037e-05/0.1734, allocations: 69.09 kB / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.1734, allocations: 85.05 kB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1735, allocations: 8.125 kB / 0.6984 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.1735, allocations: 0 / 0.6984 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.1735, allocations: 11.92 kB / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1735, allocations: 0 / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.1736, allocations: 75.28 kB / 0.6985 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1736, allocations: 0 / 0.6985 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.1738, allocations: 15.94 kB / 0.6985 GB, free: 14.62 MB / 0.4981 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.0001802/0.174, allocations: 107.3 kB / 0.6986 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.1741, allocations: 23.98 kB / 0.6986 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1741, allocations: 0 / 0.6986 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.1742, allocations: 19.92 kB / 0.6986 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1744, allocations: 0 / 0.6986 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.1748, allocations: 109.4 kB / 0.6987 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1752, allocations: 0.6811 MB / 0.6994 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.1752, allocations: 0 / 0.6994 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1752, allocations: 11.44 kB / 0.6994 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1752, allocations: 0 / 0.6994 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.002943/0.1782, allocations: 433.5 kB / 0.6998 GB, free: 13.21 MB / 0.4981 GB 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)