Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001556/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5488 GB, free: 12.88 MB / 462.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.001417/0.001417, allocations: 66.45 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2354, allocations: 114.5 MB / 0.7834 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00254/0.238, allocations: 1.248 MB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.2389, allocations: 0.5916 MB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.239, allocations: 0 / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.239, allocations: 7.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.749e-05/0.2391, allocations: 0 / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.2395, allocations: 139.4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.58e-05/0.2396, allocations: 7.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.2396, allocations: 0 / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.2396, allocations: 11.94 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.2397, allocations: 3.984 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2397, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.2402, allocations: 343.3 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.2402, allocations: 4 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2402, allocations: 7.938 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2405, allocations: 136 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2405, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2405, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2405, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 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.0004292/0.241, allocations: 359.3 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.241, allocations: 8.031 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.2411, allocations: 4.844 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2412, allocations: 168.4 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2412, allocations: 4.375 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2412, allocations: 384 / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2413, allocations: 30.27 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2414, allocations: 192 / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2414, allocations: 3.938 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2414, allocations: 4 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.2414, allocations: 7.984 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2416, allocations: 157.7 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.2417, allocations: 22.52 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.2417, allocations: 12.92 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2417, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2417, allocations: 38.56 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2417, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.2419, allocations: 49.56 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.242, allocations: 55.41 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.242, allocations: 89.86 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.242, allocations: 25.7 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.2421, allocations: 80.14 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2421, allocations: 11.89 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.2421, allocations: 17.97 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.2422, allocations: 314.8 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.2423, allocations: 3.938 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.2423, allocations: 4 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.2423, allocations: 12.86 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2423, allocations: 0 / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.085e-05/0.2424, allocations: 41.62 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2424, allocations: 4.094 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2424, allocations: 7.938 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2424, allocations: 4 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2426, allocations: 11.98 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003255/0.2429, allocations: 0.586 MB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.243, allocations: 0 / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.243, allocations: 7.938 kB / 0.7879 GB, free: 8.668 MB / 0.6075 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 6.511e-05/0.243, allocations: 117.6 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.2431, allocations: 7.938 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2432, allocations: 48.75 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2432, allocations: 0 / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2432, allocations: 0 / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2432, allocations: 0 / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.644e-05/0.2433, allocations: 157.6 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2433, allocations: 0 / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.2434, allocations: 9.062 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2434, allocations: 4.031 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.2434, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00032/0.2437, allocations: 0.5821 MB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2437, allocations: 7.875 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.024e-05/0.2438, allocations: 65.27 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.2438, allocations: 81.09 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.2439, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.2439, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.2439, allocations: 3.938 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2439, allocations: 4 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.2439, allocations: 79.28 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2439, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001932/0.2441, allocations: 11.94 kB / 0.789 GB, free: 7.375 MB / 0.6075 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.0001661/0.2443, allocations: 115.4 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.2445, allocations: 19.92 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2445, allocations: 0 / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.2446, allocations: 19.98 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.2447, allocations: 0 / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.2451, allocations: 114 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2453, allocations: 0.669 MB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.2453, allocations: 4 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.2454, allocations: 7.438 kB / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2454, allocations: 0 / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of Templates: time 0.002459/0.2478, allocations: 460.1 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)