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.004941/0.004941, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001114/0.001114, allocations: 191 kB / 16.67 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.351/1.351, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.528/1.528, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.003004/0.003004, allocations: 63.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3179, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003825/0.3218, allocations: 1.257 MB / 0.8293 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3233, allocations: 0.5842 MB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.3234, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.3234, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.3235, allocations: 3.938 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.3243, allocations: 141.9 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.3244, allocations: 7.984 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.3245, allocations: 4 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.3245, allocations: 8 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3246, allocations: 7.938 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3246, allocations: 3.938 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006076/0.3252, allocations: 339.4 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3252, allocations: 3.938 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.3253, allocations: 4 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.3257, allocations: 143.6 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3257, allocations: 0 / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3257, allocations: 0 / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3257, allocations: 0 / 0.8305 GB, free: 13.69 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.0005074/0.3262, allocations: 363.3 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3263, allocations: 8.031 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3263, allocations: 4.938 kB / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3264, allocations: 160.4 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3265, allocations: 4.312 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3265, allocations: 384 / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3266, allocations: 30.27 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3266, allocations: 192 / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3266, allocations: 11.92 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3266, allocations: 0 / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.3267, allocations: 4 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.3269, allocations: 153.7 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.3269, allocations: 30.53 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.327, allocations: 12.86 kB / 0.8312 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.327, allocations: 3.984 kB / 0.8312 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.3271, allocations: 38.56 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3271, allocations: 0 / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3272, allocations: 45.64 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3273, allocations: 51.41 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.3274, allocations: 97.84 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3274, allocations: 25.7 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.3275, allocations: 80.14 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3275, allocations: 8.156 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3275, allocations: 21.66 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3277, allocations: 310.8 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.3277, allocations: 3.984 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.3277, allocations: 8 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.3277, allocations: 8.859 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3278, allocations: 0 / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.04e-05/0.3278, allocations: 37.7 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3279, allocations: 12.09 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3279, allocations: 3.938 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3279, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3281, allocations: 11.98 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004372/0.3285, allocations: 0.5859 MB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.3285, allocations: 0 / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3286, allocations: 3.938 kB / 0.8325 GB, free: 11.33 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 8.841e-05/0.3287, allocations: 117.9 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.3287, allocations: 3.984 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.3288, allocations: 44.77 kB / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3288, allocations: 0 / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3288, allocations: 0 / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3289, allocations: 0 / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.329, allocations: 161.5 kB / 0.8328 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.329, allocations: 0 / 0.8328 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.3291, allocations: 16.02 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3291, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3291, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003339/0.3294, allocations: 0.5782 MB / 0.8334 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3295, allocations: 11.91 kB / 0.8334 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.793e-05/0.3295, allocations: 69.16 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.3296, allocations: 81.02 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3296, allocations: 0 / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.3296, allocations: 0 / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.3297, allocations: 11.94 kB / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.3297, allocations: 0 / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.3297, allocations: 79.27 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3297, allocations: 0 / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002146/0.3299, allocations: 8 kB / 0.8337 GB, free: 10.03 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.0001891/0.3301, allocations: 115.4 kB / 0.8338 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3303, allocations: 23.98 kB / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3303, allocations: 0 / 0.8338 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.3304, allocations: 15.92 kB / 0.8338 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.3306, allocations: 0 / 0.8338 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.331, allocations: 106.2 kB / 0.8339 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3313, allocations: 0.6768 MB / 0.8346 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.3313, allocations: 0 / 0.8346 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.3313, allocations: 7.438 kB / 0.8346 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.3313, allocations: 0 / 0.8346 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of Templates: time 0.003114/0.3345, allocations: 477 kB / 0.835 GB, free: 8.598 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)