Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8971/0.8971, allocations: 132.4 MB / 139.9 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001351/0.001351, allocations: 172.1 kB / 171.8 MB, free: 4.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.435/1.435, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001752/0.001753, allocations: 118 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1517/0.1517, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5489/0.7007, allocations: 101 MB / 0.7652 GB, free: 14.64 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.701, allocations: 76.58 kB / 0.7653 GB, free: 14.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003321/0.7044, allocations: 1.028 MB / 0.7663 GB, free: 13.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.7044, allocations: 0 / 0.7663 GB, free: 13.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.7044, allocations: 0 / 0.7663 GB, free: 13.55 MB / 474.7 MB 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.000293/0.7047, allocations: 323.8 kB / 0.7666 GB, free: 13.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7047, allocations: 8.031 kB / 0.7666 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.7048, allocations: 0 / 0.7666 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.7049, allocations: 163.1 kB / 0.7668 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.7049, allocations: 4 kB / 0.7668 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.705, allocations: 0 / 0.7668 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.673e-05/0.705, allocations: 15.88 kB / 0.7668 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.985e-05/0.7051, allocations: 33.64 kB / 0.7668 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7051, allocations: 4 kB / 0.7668 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7051, allocations: 0 / 0.7668 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7051, allocations: 0 / 0.7668 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.7053, allocations: 126.2 kB / 0.767 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.7054, allocations: 34.59 kB / 0.767 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.7054, allocations: 4.859 kB / 0.767 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.7056, allocations: 105.1 kB / 0.7671 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.7057, allocations: 34.56 kB / 0.7671 GB, free: 12.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7057, allocations: 4 kB / 0.7671 GB, free: 12.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004352/0.7061, allocations: 85.55 kB / 0.7672 GB, free: 12.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.7062, allocations: 51.41 kB / 0.7673 GB, free: 12.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.7062, allocations: 92.98 kB / 0.7673 GB, free: 12.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.7063, allocations: 25.7 kB / 0.7674 GB, free: 12.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.7063, allocations: 80.14 kB / 0.7674 GB, free: 12.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.7064, allocations: 4.531 kB / 0.7674 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.7064, allocations: 4 kB / 0.7675 GB, free: 12.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7065, allocations: 314.8 kB / 0.7678 GB, free: 11.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.7065, allocations: 4.156 kB / 0.7678 GB, free: 11.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.7065, allocations: 4 kB / 0.7678 GB, free: 11.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.787e-05/0.7066, allocations: 11.17 kB / 0.7678 GB, free: 11.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7066, allocations: 0 / 0.7678 GB, free: 11.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.388e-05/0.7066, allocations: 37.69 kB / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7067, allocations: 8 kB / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7067, allocations: 0 / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7067, allocations: 0 / 0.7678 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.7083, allocations: 263.8 kB / 0.7681 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.7103, allocations: 1.402 MB / 0.7694 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.7104, allocations: 4.031 kB / 0.7694 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.7104, allocations: 0 / 0.7694 GB, free: 10.01 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real 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 () * 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 0.0001528/0.7105, allocations: 109 kB / 0.7695 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.7106, allocations: 7.984 kB / 0.7696 GB, free: 9.891 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-06/0.7106, allocations: 3.75 kB / 0.7696 GB, free: 9.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7106, allocations: 4.062 kB / 0.7696 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.7106, allocations: 0 / 0.7696 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.7106, allocations: 7.953 kB / 0.7696 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.637e-05/0.7107, allocations: 129.5 kB / 0.7697 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7107, allocations: 0 / 0.7697 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.7123, allocations: 263.7 kB / 0.7699 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7123, allocations: 0 / 0.7699 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.7123, allocations: 7.875 kB / 0.7699 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.7141, allocations: 1.387 MB / 0.7713 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7141, allocations: 0 / 0.7713 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.7142, allocations: 73.12 kB / 0.7714 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.7143, allocations: 85.09 kB / 0.7715 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.7143, allocations: 0 / 0.7715 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.7144, allocations: 4 kB / 0.7715 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.7144, allocations: 11.92 kB / 0.7715 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.7144, allocations: 3.609 kB / 0.7715 GB, free: 7.746 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.7145, allocations: 79.31 kB / 0.7715 GB, free: 7.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7145, allocations: 0 / 0.7715 GB, free: 7.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.7147, allocations: 8 kB / 0.7716 GB, free: 7.66 MB / 474.7 MB 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 () * 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.0001214/0.7148, allocations: 99.25 kB / 0.7717 GB, free: 7.555 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.7163, allocations: 247.8 kB / 0.7719 GB, free: 7.312 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7163, allocations: 0 / 0.7719 GB, free: 7.312 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.7187, allocations: 371.7 kB / 0.7722 GB, free: 6.949 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.522e-05/0.7188, allocations: 3.953 kB / 0.7722 GB, free: 6.945 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.7206, allocations: 383.6 kB / 0.7726 GB, free: 6.547 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.7208, allocations: 0.6768 MB / 0.7733 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.7209, allocations: 0 / 0.7733 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.7209, allocations: 7.438 kB / 0.7733 GB, free: 5.84 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7209, allocations: 0 / 0.7733 GB, free: 5.84 MB / 474.7 MB Notification: Performance of Templates: time 0.00245/0.7234, allocations: 450.5 kB / 0.7737 GB, free: 5.434 MB / 474.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)