Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.751/2.751, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.002076/0.002076, allocations: 182.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009165/0.0009168, allocations: 90.41 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 11.28 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001929/0.2652, allocations: 0.9742 MB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2668, allocations: 0.5347 MB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.2669, allocations: 4 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.2669, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.267, allocations: 3.984 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009061/0.2679, allocations: 112.9 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.268, allocations: 15.92 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.268, allocations: 4 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.2681, allocations: 3.938 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.2681, allocations: 4 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2681, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/0.2688, allocations: 343.2 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.2688, allocations: 0 / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.2688, allocations: 25.7 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.2691, allocations: 96.05 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2691, allocations: 0 / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2691, allocations: 0 / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2691, allocations: 4 kB / 0.9804 GB, free: 26.24 MB / 0.6198 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.0003417/0.2695, allocations: 355.3 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2695, allocations: 12.02 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.2696, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.2697, allocations: 166.9 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2697, allocations: 4 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2697, allocations: 0 / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.2698, allocations: 37.62 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2698, allocations: 4 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.2698, allocations: 0 / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2699, allocations: 0 / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.2699, allocations: 8 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.2701, allocations: 145.6 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.2701, allocations: 30.59 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.2702, allocations: 4.859 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2702, allocations: 7.984 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.2702, allocations: 38.56 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.2702, allocations: 0 / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.2704, allocations: 37.7 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2704, allocations: 55.39 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.2705, allocations: 93.86 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.2705, allocations: 29.7 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.2705, allocations: 84.39 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2706, allocations: 3.906 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2706, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.2707, allocations: 318.8 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.2707, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.2707, allocations: 11.98 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.2707, allocations: 7.891 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2708, allocations: 0 / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.226e-05/0.2708, allocations: 37.77 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2709, allocations: 9.25 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2709, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2709, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2711, allocations: 16.02 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000315/0.2715, allocations: 0.586 MB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.2715, allocations: 11.89 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.2715, allocations: 128 / 0.9825 GB, free: 23.91 MB / 0.6198 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.2716, allocations: 113.9 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.2716, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.2718, allocations: 44.81 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2718, allocations: 0 / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-06/0.2718, allocations: 0 / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2718, allocations: 0 / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.258e-05/0.2719, allocations: 161.5 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2719, allocations: 32 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2721, allocations: 15.98 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2721, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.2721, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002417/0.2723, allocations: 0.5898 MB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2723, allocations: 0 / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.242e-05/0.2724, allocations: 65.25 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.2725, allocations: 77.11 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2725, allocations: 4 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.2725, allocations: 4 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.2726, allocations: 3.953 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2726, allocations: 0 / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.2726, allocations: 79.22 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2726, allocations: 4 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002623/0.2729, allocations: 12.06 kB / 0.9836 GB, free: 22.63 MB / 0.6198 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.2731, allocations: 119.2 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2733, allocations: 15.98 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2733, allocations: 0 / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2735, allocations: 15.98 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2737, allocations: 0 / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.274, allocations: 115.2 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2742, allocations: 0.677 MB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.2742, allocations: 0 / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.2742, allocations: 7.438 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.2742, allocations: 0 / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.002983/0.2772, allocations: 420.2 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)