Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.27/2.27, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 197.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 102 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 50.12 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2722, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002052/0.2743, allocations: 1.315 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.2751, allocations: 0.6003 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.2751, allocations: 3.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.2752, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.2752, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2757, allocations: 123.6 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.827e-05/0.2758, allocations: 11.94 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.2758, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.2758, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.2759, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2759, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.2763, allocations: 347.3 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.2763, allocations: 3.938 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.2763, allocations: 7.938 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.2766, allocations: 145.6 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2766, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2766, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2766, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 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.0002882/0.2769, allocations: 343.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2769, allocations: 11.98 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.277, allocations: 4.844 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.062e-05/0.277, allocations: 164.4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2771, allocations: 4.375 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.2771, allocations: 384 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.41e-05/0.2772, allocations: 34.27 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2772, allocations: 4.188 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.2772, allocations: 3.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2772, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.2772, allocations: 7.938 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.2773, allocations: 149.7 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.168e-05/0.2774, allocations: 26.64 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.2774, allocations: 4.859 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2775, allocations: 8.062 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.2775, allocations: 34.56 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2775, allocations: 0 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.2776, allocations: 45.56 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.2776, allocations: 51.41 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.454e-05/0.2777, allocations: 97.86 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.2777, allocations: 25.7 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.2777, allocations: 84.39 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.2777, allocations: 15.83 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.2778, allocations: 13.66 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.2778, allocations: 314.8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.2778, allocations: 4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.2779, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.2779, allocations: 16.86 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2779, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.575e-05/0.278, allocations: 45.69 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.278, allocations: 4.781 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.278, allocations: 3.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.278, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2782, allocations: 8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000233/0.2784, allocations: 0.5821 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.2784, allocations: 4.156 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2784, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 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 5.375e-05/0.2785, allocations: 120.4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.2785, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.2786, allocations: 56.66 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2786, allocations: 7.984 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2786, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2786, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.558e-05/0.2787, allocations: 157.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2787, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.2788, allocations: 8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2788, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.2788, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001792/0.279, allocations: 0.5899 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.279, allocations: 3.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2792, allocations: 0.6125 MB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.2792, allocations: 81.05 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2792, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.2793, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.2793, allocations: 7.984 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.2793, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.609e-05/0.2793, allocations: 79.31 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2793, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002999/0.2796, allocations: 12 kB / 1.224 GB, free: 110.4 MB / 0.823 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.0001406/0.2798, allocations: 111.2 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.2799, allocations: 19.98 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2799, allocations: 0 / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.28, allocations: 20.09 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2802, allocations: 7.922 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.2805, allocations: 207.2 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.2806, allocations: 0.6731 MB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.2807, allocations: 0 / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.2807, allocations: 11.5 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2807, allocations: 0 / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002115/0.2828, allocations: 447.6 kB / 1.226 GB, free: 108.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)