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.8203/0.8203, allocations: 133.7 MB / 148.6 MB, free: 13.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001058/0.001058, allocations: 172.1 kB / 180.8 MB, free: 14.95 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.587/1.587, allocations: 170.7 MB / 383.7 MB, free: 16.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001634, allocations: 114.6 kB / 454.6 MB, free: 9.746 MB / 346.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.1803/0.1808, allocations: 73.4 MB / 0.6812 GB, free: 5.605 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.7245, allocations: 101.7 MB / 0.7805 GB, free: 24.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.7248, allocations: 80.28 kB / 0.7806 GB, free: 24.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003276/0.7281, allocations: 1.026 MB / 0.7816 GB, free: 23.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7281, allocations: 0 / 0.7816 GB, free: 23.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.7281, allocations: 0 / 0.7816 GB, free: 23.52 MB / 490.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.000298/0.7284, allocations: 333.6 kB / 0.7819 GB, free: 23.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7285, allocations: 8.562 kB / 0.7819 GB, free: 23.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.7285, allocations: 1.562 kB / 0.7819 GB, free: 23.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7286, allocations: 173.4 kB / 0.7821 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7287, allocations: 4 kB / 0.7821 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.7287, allocations: 0.75 kB / 0.7821 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.7292, allocations: 90.55 kB / 0.7822 GB, free: 22.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7292, allocations: 0.6562 kB / 0.7822 GB, free: 22.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7292, allocations: 0 / 0.7822 GB, free: 22.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7293, allocations: 0 / 0.7822 GB, free: 22.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.7296, allocations: 71.94 kB / 0.7823 GB, free: 22.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.7298, allocations: 147.5 kB / 0.7824 GB, free: 22.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.7302, allocations: 88.39 kB / 0.7825 GB, free: 22.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.7305, allocations: 110.2 kB / 0.7826 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.7305, allocations: 36.23 kB / 0.7826 GB, free: 22.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.7305, allocations: 0 / 0.7826 GB, free: 22.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000839/0.7313, allocations: 166.6 kB / 0.7828 GB, free: 22.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.7314, allocations: 55.34 kB / 0.7828 GB, free: 22.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/0.7314, allocations: 92.25 kB / 0.7829 GB, free: 22.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.7315, allocations: 25.7 kB / 0.783 GB, free: 22.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.7315, allocations: 80.75 kB / 0.783 GB, free: 21.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.7315, allocations: 7.922 kB / 0.783 GB, free: 21.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.7315, allocations: 0 / 0.783 GB, free: 21.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.7316, allocations: 311.5 kB / 0.7833 GB, free: 21.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.7317, allocations: 25.22 kB / 0.7834 GB, free: 21.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.7318, allocations: 20.09 kB / 0.7834 GB, free: 21.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.7319, allocations: 20.23 kB / 0.7834 GB, free: 21.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7319, allocations: 4 kB / 0.7834 GB, free: 21.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.7321, allocations: 74.94 kB / 0.7835 GB, free: 21.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7321, allocations: 8 kB / 0.7835 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7322, allocations: 0 / 0.7835 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7322, allocations: 1.125 kB / 0.7835 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.734, allocations: 259.1 kB / 0.7837 GB, free: 21.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.7367, allocations: 1.622 MB / 0.7853 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.7367, allocations: 9.5 kB / 0.7853 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.7368, allocations: 4.938 kB / 0.7853 GB, free: 19.73 MB / 490.7 MB 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 7.24e-05/0.7368, allocations: 110.5 kB / 0.7854 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.7368, allocations: 4.781 kB / 0.7854 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.491e-05/0.7369, allocations: 7.578 kB / 0.7854 GB, free: 19.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.7369, allocations: 8.062 kB / 0.7855 GB, free: 19.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7369, allocations: 4.703 kB / 0.7855 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7369, allocations: 0 / 0.7855 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.568e-05/0.737, allocations: 152.6 kB / 0.7856 GB, free: 19.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.737, allocations: 0.875 kB / 0.7856 GB, free: 19.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/0.7387, allocations: 265.4 kB / 0.7859 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7388, allocations: 2.531 kB / 0.7859 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.7388, allocations: 9.031 kB / 0.7859 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.7412, allocations: 1.612 MB / 0.7874 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7413, allocations: 6.078 kB / 0.7874 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.7415, allocations: 95.39 kB / 0.7875 GB, free: 17.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.7415, allocations: 77.72 kB / 0.7876 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.7416, allocations: 3.531 kB / 0.7876 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.7417, allocations: 10.2 kB / 0.7876 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.7417, allocations: 1.969 kB / 0.7876 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.7417, allocations: 3.953 kB / 0.7876 GB, free: 17.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.511e-05/0.7417, allocations: 83.31 kB / 0.7877 GB, free: 17.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7417, allocations: 0 / 0.7877 GB, free: 17.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.7419, allocations: 8.656 kB / 0.7877 GB, free: 17.3 MB / 490.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 () * 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.0001251/0.7421, allocations: 103.3 kB / 0.7878 GB, free: 17.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.7439, allocations: 279.7 kB / 0.7881 GB, free: 17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7439, allocations: 0 / 0.7881 GB, free: 17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.7465, allocations: 392.5 kB / 0.7885 GB, free: 16.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.7466, allocations: 3.188 kB / 0.7885 GB, free: 16.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.7487, allocations: 446.1 kB / 0.7889 GB, free: 16.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.7489, allocations: 0.6763 MB / 0.7895 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.7489, allocations: 0.6562 kB / 0.7895 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.7489, allocations: 15.38 kB / 0.7896 GB, free: 15.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7489, allocations: 0 / 0.7896 GB, free: 15.65 MB / 490.7 MB Notification: Performance of Templates: time 0.002606/0.7516, allocations: 446.2 kB / 0.79 GB, free: 15.43 MB / 490.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)