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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.05 kB / 0.6715 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2481, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002497/0.2506, allocations: 1.244 MB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.2516, allocations: 0.5877 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.2516, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.2516, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.2517, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.2522, allocations: 135.4 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.2522, allocations: 11.94 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.2523, allocations: 4 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.2523, allocations: 3.938 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.2523, allocations: 11.97 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2523, allocations: 4 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.2528, allocations: 339.3 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.2529, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.2529, allocations: 3.938 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.2532, allocations: 144 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2532, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2532, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2532, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 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.0003562/0.2536, allocations: 355.4 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2536, allocations: 12.03 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.2536, allocations: 12.84 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2537, allocations: 164.4 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.2538, allocations: 384 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.2538, allocations: 384 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.2538, allocations: 30.27 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2539, allocations: 192 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2539, allocations: 11.88 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2539, allocations: 4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.2539, allocations: 0 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.2541, allocations: 161.6 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.2541, allocations: 18.61 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.2541, allocations: 12.91 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2542, allocations: 0 / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2542, allocations: 38.55 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.2542, allocations: 0 / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.2543, allocations: 53.58 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.2544, allocations: 51.41 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.2544, allocations: 97.86 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2544, allocations: 25.7 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.2545, allocations: 84.12 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.2545, allocations: 3.906 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.2545, allocations: 13.72 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.2546, allocations: 319.1 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.2546, allocations: 0 / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-06/0.2547, allocations: 4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.2547, allocations: 12.8 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2547, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.901e-05/0.2548, allocations: 41.69 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2548, allocations: 8.938 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2548, allocations: 3.938 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2548, allocations: 96 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.255, allocations: 15.98 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.2553, allocations: 0.586 MB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.2554, allocations: 0 / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2554, allocations: 3.938 kB / 0.7879 GB, free: 8.598 MB / 0.6075 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 7.166e-05/0.2554, allocations: 120.9 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.2555, allocations: 8 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2556, allocations: 44.81 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2556, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2556, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2556, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.2557, allocations: 153.6 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2557, allocations: 0 / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.2558, allocations: 9.062 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2558, allocations: 3.984 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.2558, allocations: 32 / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002633/0.2561, allocations: 0.5938 MB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2561, allocations: 7.938 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.074e-05/0.2561, allocations: 57.14 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.2562, allocations: 81.09 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2562, allocations: 4.125 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.2562, allocations: 7.938 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.2563, allocations: 3.938 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.2563, allocations: 3.938 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.2563, allocations: 75.28 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2563, allocations: 4 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001868/0.2565, allocations: 7.938 kB / 0.789 GB, free: 7.297 MB / 0.6075 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.0001471/0.2567, allocations: 115.3 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2568, allocations: 23.98 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2568, allocations: 0 / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.2569, allocations: 11.98 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2571, allocations: 4 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.2574, allocations: 110 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.2576, allocations: 0.6729 MB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.2576, allocations: 0 / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.2577, allocations: 7.438 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2577, allocations: 0 / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.002446/0.2601, allocations: 454 kB / 0.7904 GB, free: 5.859 MB / 0.6075 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)