Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005125/0.005125, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001139/0.00114, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.002532/0.002532, allocations: 63.91 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2816, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003518/0.2852, allocations: 1.252 MB / 0.8293 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2867, allocations: 0.588 MB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.2867, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.2868, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.2868, allocations: 7.922 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000718/0.2876, allocations: 139.4 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.2876, allocations: 7.938 kB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.2877, allocations: 7.984 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.2877, allocations: 0 / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.2878, allocations: 11.94 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2878, allocations: 0 / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007541/0.2886, allocations: 339.4 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.2886, allocations: 4 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.2887, allocations: 4 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.2891, allocations: 143.5 kB / 0.8305 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2891, allocations: 4 kB / 0.8305 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2891, allocations: 3.938 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.2891, allocations: 0 / 0.8305 GB, free: 13.73 MB / 0.6544 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.0005278/0.2896, allocations: 351.1 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2897, allocations: 16.03 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.2897, allocations: 4.922 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2899, allocations: 164.3 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.29, allocations: 384 / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.29, allocations: 4.375 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.2901, allocations: 34.27 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2901, allocations: 192 / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.2902, allocations: 3.938 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2902, allocations: 4 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.432e-05/0.2902, allocations: 7.984 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.2904, allocations: 149.7 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.077e-05/0.2905, allocations: 22.55 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.2906, allocations: 16.91 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2906, allocations: 3.938 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2906, allocations: 30.56 kB / 0.8313 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2907, allocations: 4 kB / 0.8313 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.2908, allocations: 41.64 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2909, allocations: 55.41 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.291, allocations: 101.8 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.291, allocations: 25.7 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.2911, allocations: 80.14 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.2912, allocations: 3.953 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.2912, allocations: 17.97 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2914, allocations: 314.8 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.2914, allocations: 0 / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.2914, allocations: 4 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.2915, allocations: 16.84 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2915, allocations: 0 / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.575e-05/0.2916, allocations: 37.66 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2916, allocations: 8 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2916, allocations: 8.031 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2916, allocations: 0 / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2918, allocations: 15.92 kB / 0.832 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004893/0.2923, allocations: 0.5821 MB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.2924, allocations: 3.938 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2924, allocations: 3.984 kB / 0.8325 GB, free: 11.38 MB / 0.6544 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 9.397e-05/0.2925, allocations: 117.9 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.2925, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.2927, allocations: 48.75 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2927, allocations: 3.938 kB / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2927, allocations: 0 / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2927, allocations: 0 / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.2929, allocations: 157.6 kB / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2929, allocations: 0 / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.293, allocations: 11.98 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.293, allocations: 4.031 kB / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2931, allocations: 0 / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004142/0.2935, allocations: 0.586 MB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.2935, allocations: 3.938 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.2936, allocations: 73.08 kB / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.2937, allocations: 81.14 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2937, allocations: 4 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.2938, allocations: 4 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.2938, allocations: 3.938 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2938, allocations: 0 / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.2938, allocations: 75.28 kB / 0.8337 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2939, allocations: 4 kB / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003699/0.2942, allocations: 8 kB / 0.8337 GB, free: 10.07 MB / 0.6544 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.000272/0.2945, allocations: 122.5 kB / 0.8338 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.2948, allocations: 23.92 kB / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2948, allocations: 0 / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2949, allocations: 11.98 kB / 0.8338 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2952, allocations: 8 kB / 0.8338 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.2956, allocations: 106 kB / 0.8339 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.296, allocations: 0.669 MB / 0.8346 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.296, allocations: 0 / 0.8346 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.2961, allocations: 15.42 kB / 0.8346 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.2961, allocations: 0 / 0.8346 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of Templates: time 0.003638/0.2997, allocations: 465.6 kB / 0.8351 GB, free: 8.641 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)