Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6904/0.6904, allocations: 132.3 MB / 144.9 MB, free: 10.69 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.0009885/0.0009885, allocations: 175.3 kB / 176.9 MB, free: 2.18 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.13/1.13, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001522/0.001522, allocations: 120.8 kB / 450 MB, free: 5.832 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.4051/0.4052, allocations: 73.39 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.5299, allocations: 102.9 MB / 0.7741 GB, free: 13.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5302, allocations: 78.39 kB / 0.7741 GB, free: 13.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008763/0.539, allocations: 2.771 MB / 0.7769 GB, free: 11.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.539, allocations: 4 kB / 0.7769 GB, free: 11.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.539, allocations: 0 / 0.7769 GB, free: 11.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003429/0.5394, allocations: 346.4 kB / 0.7772 GB, free: 10.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5395, allocations: 8.031 kB / 0.7772 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.5395, allocations: 8.625 kB / 0.7772 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5396, allocations: 163.1 kB / 0.7774 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5396, allocations: 1.781 kB / 0.7774 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.5396, allocations: 4 kB / 0.7774 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009183/0.5406, allocations: 185.5 kB / 0.7775 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5406, allocations: 7.547 kB / 0.7775 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.5406, allocations: 4 kB / 0.7776 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5406, allocations: 2 kB / 0.7776 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.5414, allocations: 159.8 kB / 0.7777 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.5417, allocations: 248.8 kB / 0.7779 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.5427, allocations: 198.4 kB / 0.7781 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.5427, allocations: 16.86 kB / 0.7781 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.5431, allocations: 226.2 kB / 0.7784 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.5432, allocations: 30.56 kB / 0.7784 GB, free: 9.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.5432, allocations: 4 kB / 0.7784 GB, free: 9.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.001639/0.5448, allocations: 325.4 kB / 0.7787 GB, free: 8.922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.5449, allocations: 55.41 kB / 0.7788 GB, free: 8.855 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.545, allocations: 93 kB / 0.7788 GB, free: 8.758 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.545, allocations: 25.7 kB / 0.7789 GB, free: 8.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.545, allocations: 84.12 kB / 0.779 GB, free: 8.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.5451, allocations: 11.75 kB / 0.779 GB, free: 8.629 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.5451, allocations: 9.781 kB / 0.779 GB, free: 8.621 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5452, allocations: 310.8 kB / 0.7793 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.5453, allocations: 15.94 kB / 0.7793 GB, free: 8.293 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.5453, allocations: 29.7 kB / 0.7793 GB, free: 8.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.5454, allocations: 12 kB / 0.7793 GB, free: 8.246 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5454, allocations: 0 / 0.7793 GB, free: 8.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001334/0.5455, allocations: 73.56 kB / 0.7794 GB, free: 8.168 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5456, allocations: 4 kB / 0.7794 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5456, allocations: 0 / 0.7794 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5456, allocations: 4 kB / 0.7794 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5458, allocations: 32 kB / 0.7794 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5458, allocations: 4 kB / 0.7794 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.546, allocations: 31.88 kB / 0.7795 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.546, allocations: 0 / 0.7795 GB, free: 8.094 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.5461, allocations: 109 kB / 0.7796 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.5461, allocations: 3.953 kB / 0.7796 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.5462, allocations: 3.5 kB / 0.7796 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5462, allocations: 0 / 0.7796 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5462, allocations: 1.5 kB / 0.7796 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5462, allocations: 6.719 kB / 0.7796 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.5464, allocations: 181.6 kB / 0.7798 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5464, allocations: 0 / 0.7798 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5466, allocations: 27.97 kB / 0.7798 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5466, allocations: 0 / 0.7798 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5466, allocations: 3.953 kB / 0.7798 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5466, allocations: 7.938 kB / 0.7798 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5466, allocations: 4 kB / 0.7798 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.5468, allocations: 151.8 kB / 0.7799 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.5469, allocations: 81.06 kB / 0.78 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5469, allocations: 6.047 kB / 0.78 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.5471, allocations: 35.92 kB / 0.7801 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.5471, allocations: 4 kB / 0.7801 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.5471, allocations: 3.984 kB / 0.7801 GB, free: 7.391 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.517e-05/0.5472, allocations: 79.28 kB / 0.7801 GB, free: 7.312 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5472, allocations: 0 / 0.7801 GB, free: 7.312 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.5474, allocations: 8 kB / 0.7802 GB, free: 7.305 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001536/0.5476, allocations: 107.2 kB / 0.7803 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.5477, allocations: 35.92 kB / 0.7803 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5477, allocations: 0 / 0.7803 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.5478, allocations: 16 kB / 0.7803 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.5479, allocations: 4 kB / 0.7803 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.5483, allocations: 101 kB / 0.7804 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.5486, allocations: 0.6848 MB / 0.7811 GB, free: 6.305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.75e-05/0.5487, allocations: 4 kB / 0.7811 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.5487, allocations: 23.36 kB / 0.7811 GB, free: 6.281 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5487, allocations: 0 / 0.7811 GB, free: 6.281 MB / 490.7 MB Notification: Performance of Templates: time 0.002237/0.551, allocations: 0.4974 MB / 0.7816 GB, free: 5.805 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)