Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.3 MB / 303.2 MB, free: 8.215 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.001064/0.001064, allocations: 186.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008685/0.0008686, allocations: 97.16 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003995, allocations: 15.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001294/0.2407, allocations: 0.965 MB / 0.9804 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005159/0.2413, allocations: 316.9 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.2413, allocations: 0 / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.2414, allocations: 7.938 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.2414, allocations: 0 / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.2418, allocations: 73.39 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.44e-05/0.2418, allocations: 7.984 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.2419, allocations: 0 / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.2419, allocations: 4 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.242, allocations: 3.984 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.242, allocations: 4 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.2422, allocations: 175.7 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.2422, allocations: 0 / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2423, allocations: 25.7 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2424, allocations: 64.09 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2424, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2424, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2424, allocations: 0 / 0.981 GB, free: 26.05 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.0003349/0.2428, allocations: 327.4 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2428, allocations: 12.02 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.2428, allocations: 7.938 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.2429, allocations: 170.9 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.243, allocations: 0 / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.243, allocations: 0 / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.588e-05/0.2431, allocations: 37.69 kB / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2431, allocations: 0 / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2431, allocations: 0 / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2431, allocations: 0 / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.2431, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.2432, allocations: 165.6 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.2433, allocations: 26.52 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.2433, allocations: 7.984 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2433, allocations: 30.56 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2434, allocations: 4.062 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.2435, allocations: 41.69 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.2435, allocations: 51.41 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.2436, allocations: 97.8 kB / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.2436, allocations: 25.95 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.598e-05/0.2436, allocations: 84.14 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2436, allocations: 3.906 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2436, allocations: 0 / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.2437, allocations: 314.8 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.2437, allocations: 7.984 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.2437, allocations: 0 / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.579e-05/0.2437, allocations: 4 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2438, allocations: 0 / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.764e-05/0.2438, allocations: 49.66 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2438, allocations: 4 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2438, allocations: 4 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2439, allocations: 0 / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.244, allocations: 12.98 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002452/0.2443, allocations: 0.5821 MB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.2443, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.2443, allocations: 4.125 kB / 0.983 GB, free: 23.77 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 5.972e-05/0.2444, allocations: 113.8 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.2444, allocations: 3.984 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.2445, allocations: 44.83 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2445, allocations: 3.938 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2445, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2445, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.2446, allocations: 161.5 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2446, allocations: 4.031 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-05/0.2447, allocations: 15.97 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2447, allocations: 0 / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2447, allocations: 0 / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001827/0.2449, allocations: 0.5782 MB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2449, allocations: 4.031 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.111e-05/0.245, allocations: 73.11 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.245, allocations: 77.11 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.245, allocations: 0 / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.245, allocations: 4 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.2451, allocations: 7.938 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2451, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.2451, allocations: 79.23 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2451, allocations: 4.125 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001885/0.2453, allocations: 15.98 kB / 0.9842 GB, free: 22.47 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.0001522/0.2455, allocations: 107.2 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.2456, allocations: 15.98 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2456, allocations: 4 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2457, allocations: 23.86 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.866e-05/0.2458, allocations: 128 / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2462, allocations: 107.2 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2463, allocations: 0.6731 MB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.2464, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.2464, allocations: 11.44 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2464, allocations: 0 / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.002325/0.2487, allocations: 410.1 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)