Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 190.2 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 99.44 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 47.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2963, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002989/0.2993, allocations: 1.325 MB / 0.9835 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3005, allocations: 0.5994 MB / 0.9841 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.3006, allocations: 4 kB / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3006, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.56e-05/0.3007, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.3013, allocations: 123.6 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.3014, allocations: 11.94 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.3015, allocations: 4 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.068e-05/0.3015, allocations: 0 / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.3016, allocations: 11.92 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3016, allocations: 4 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.3021, allocations: 343.3 kB / 0.9846 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.3022, allocations: 0 / 0.9846 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.3022, allocations: 4 kB / 0.9846 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.3026, allocations: 147.9 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3026, allocations: 0 / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3026, allocations: 0 / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3026, allocations: 0 / 0.9847 GB, free: 7.828 MB / 0.7136 GB 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.0004667/0.3031, allocations: 351.4 kB / 0.9851 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3032, allocations: 8.031 kB / 0.9851 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3032, allocations: 4.938 kB / 0.9851 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3033, allocations: 172.4 kB / 0.9852 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3034, allocations: 384 / 0.9852 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3034, allocations: 384 / 0.9852 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3035, allocations: 34.2 kB / 0.9853 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3035, allocations: 192 / 0.9853 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3035, allocations: 3.938 kB / 0.9853 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3036, allocations: 0 / 0.9853 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.3036, allocations: 8 kB / 0.9853 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3038, allocations: 153.7 kB / 0.9854 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.3039, allocations: 26.58 kB / 0.9854 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.3039, allocations: 8.922 kB / 0.9855 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3039, allocations: 3.984 kB / 0.9855 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.304, allocations: 38.48 kB / 0.9855 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.304, allocations: 0 / 0.9855 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.3041, allocations: 45.64 kB / 0.9855 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3042, allocations: 59.34 kB / 0.9856 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.3042, allocations: 89.86 kB / 0.9857 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3043, allocations: 25.7 kB / 0.9857 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.3043, allocations: 88.12 kB / 0.9858 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3043, allocations: 7.906 kB / 0.9858 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.3044, allocations: 9.719 kB / 0.9858 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3045, allocations: 319.1 kB / 0.9861 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.3046, allocations: 4 kB / 0.9861 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.3046, allocations: 4 kB / 0.9861 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.3046, allocations: 12.8 kB / 0.9861 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3046, allocations: 0 / 0.9861 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.281e-05/0.3047, allocations: 41.69 kB / 0.9862 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3047, allocations: 4 kB / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3048, allocations: 7.922 kB / 0.9862 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3048, allocations: 4.094 kB / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.305, allocations: 11.98 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003822/0.3054, allocations: 0.586 MB / 0.9868 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.3054, allocations: 3.906 kB / 0.9868 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3054, allocations: 0 / 0.9868 GB, free: 5.473 MB / 0.7136 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.529e-05/0.3055, allocations: 113.8 kB / 0.9869 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.3055, allocations: 12.06 kB / 0.9869 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.3056, allocations: 44.81 kB / 0.9869 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3056, allocations: 0 / 0.9869 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3057, allocations: 0 / 0.9869 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3057, allocations: 0 / 0.9869 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3058, allocations: 157.6 kB / 0.9871 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3058, allocations: 0 / 0.9871 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.3059, allocations: 11.94 kB / 0.9871 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3059, allocations: 0 / 0.9871 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3059, allocations: 4.016 kB / 0.9871 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000318/0.3062, allocations: 0.5821 MB / 0.9877 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3062, allocations: 3.938 kB / 0.9877 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.3066, allocations: 0.6086 MB / 0.9883 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3067, allocations: 88.95 kB / 0.9884 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3067, allocations: 0 / 0.9884 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.3067, allocations: 11.98 kB / 0.9884 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.3067, allocations: 3.938 kB / 0.9884 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3067, allocations: 0 / 0.9884 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.3068, allocations: 79.28 kB / 0.9884 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3068, allocations: 0 / 0.9884 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003086/0.3071, allocations: 11.94 kB / 0.9885 GB, free: 3.586 MB / 0.7136 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.0001806/0.3073, allocations: 114.6 kB / 0.9886 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.3075, allocations: 27.92 kB / 0.9886 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3075, allocations: 0 / 0.9886 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.951e-05/0.3076, allocations: 11.98 kB / 0.9886 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3078, allocations: 7.938 kB / 0.9886 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.3082, allocations: 199.3 kB / 0.9888 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3085, allocations: 0.677 MB / 0.9895 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.3085, allocations: 0 / 0.9895 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3085, allocations: 7.438 kB / 0.9895 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.3085, allocations: 0 / 0.9895 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of Templates: time 0.002749/0.3113, allocations: 440.4 kB / 0.9899 GB, free: 2.043 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)