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.001305/0.001305, 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.001331/0.001331, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002571/0.002571, allocations: 286.6 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.042/1.042, allocations: 178.6 MB / 0.507 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 102.6 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1677, allocations: 89.16 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002446/0.1701, allocations: 1.297 MB / 0.6942 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1712, allocations: 0.6005 MB / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1712, allocations: 0 / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.1712, allocations: 0 / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.1713, allocations: 8.469 kB / 0.6948 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1718, allocations: 130.8 kB / 0.695 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.1718, allocations: 8 kB / 0.695 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1719, allocations: 0 / 0.695 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.075e-05/0.1719, allocations: 7.984 kB / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.172, allocations: 7.922 kB / 0.695 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.172, allocations: 4 kB / 0.695 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.1725, allocations: 339.3 kB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.1725, allocations: 3.984 kB / 0.6953 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.1725, allocations: 4 kB / 0.6953 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1728, allocations: 136.6 kB / 0.6955 GB, free: 2.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1728, allocations: 4 kB / 0.6955 GB, free: 2.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1728, allocations: 4 kB / 0.6955 GB, free: 2.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1728, allocations: 0 / 0.6955 GB, free: 2.137 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.0004171/0.1732, allocations: 351.5 kB / 0.6958 GB, free: 1.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1733, allocations: 8.031 kB / 0.6958 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1733, allocations: 0.9375 kB / 0.6958 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1734, allocations: 172.3 kB / 0.696 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1735, allocations: 4.312 kB / 0.696 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1735, allocations: 4.359 kB / 0.696 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.814e-05/0.1736, allocations: 34.27 kB / 0.696 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1736, allocations: 192 / 0.696 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1736, allocations: 7.938 kB / 0.696 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1736, allocations: 0 / 0.696 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.1736, allocations: 4 kB / 0.696 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1738, allocations: 149.7 kB / 0.6962 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/0.1739, allocations: 26.52 kB / 0.6962 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.1739, allocations: 8.922 kB / 0.6962 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1739, allocations: 7.938 kB / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.174, allocations: 30.56 kB / 0.6962 GB, free: 1.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.174, allocations: 3.938 kB / 0.6962 GB, free: 1.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.1741, allocations: 45.62 kB / 0.6963 GB, free: 1.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1742, allocations: 55.41 kB / 0.6963 GB, free: 1.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.1743, allocations: 93.86 kB / 0.6964 GB, free: 0.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1743, allocations: 29.95 kB / 0.6965 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1743, allocations: 80.14 kB / 0.6965 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1744, allocations: 11.89 kB / 0.6965 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.1744, allocations: 9.719 kB / 0.6966 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1745, allocations: 322.8 kB / 0.6969 GB, free: 500 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.1746, allocations: 0 / 0.6969 GB, free: 500 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.1746, allocations: 4 kB / 0.6969 GB, free: 496 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.1746, allocations: 8.922 kB / 0.6969 GB, free: 484 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1746, allocations: 4 kB / 0.6969 GB, free: 480 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.549e-05/0.1747, allocations: 41.69 kB / 0.6969 GB, free: 432 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1747, allocations: 4 kB / 0.6969 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1747, allocations: 3.938 kB / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1747, allocations: 4 kB / 0.6969 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1749, allocations: 7.984 kB / 0.6969 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004279/0.1753, allocations: 0.59 MB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.1753, allocations: 0 / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1754, allocations: 0 / 0.6975 GB, free: 15.79 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 8.927e-05/0.1754, allocations: 113.8 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.1755, allocations: 4 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1756, allocations: 52.75 kB / 0.6977 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1756, allocations: 0 / 0.6977 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1756, allocations: 0 / 0.6977 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1756, allocations: 4.094 kB / 0.6977 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1757, allocations: 157.5 kB / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1757, allocations: 0 / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.1758, allocations: 8 kB / 0.6978 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1758, allocations: 0 / 0.6978 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1758, allocations: 0 / 0.6978 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003588/0.1762, allocations: 0.5821 MB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1762, allocations: 4.031 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.915e-05/0.1763, allocations: 77.05 kB / 0.6985 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.1763, allocations: 81.09 kB / 0.6986 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.1764, allocations: 0 / 0.6986 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.1764, allocations: 3.938 kB / 0.6986 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.1764, allocations: 3.938 kB / 0.6986 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1764, allocations: 4 kB / 0.6986 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.1764, allocations: 79.31 kB / 0.6986 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1765, allocations: 0 / 0.6986 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001927/0.1767, allocations: 15.94 kB / 0.6987 GB, free: 14.49 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.0001582/0.1768, allocations: 111.2 kB / 0.6988 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.177, allocations: 19.98 kB / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.177, allocations: 0 / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.1771, allocations: 20.08 kB / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1772, allocations: 5.688 kB / 0.6988 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.1776, allocations: 106.1 kB / 0.6989 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1779, allocations: 0.6766 MB / 0.6996 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.464e-05/0.1779, allocations: 0 / 0.6996 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.1779, allocations: 7.438 kB / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.178, allocations: 4 kB / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.002642/0.1806, allocations: 445.3 kB / 0.7 GB, free: 13.08 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)