Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7385/0.7385, allocations: 132.4 MB / 139.7 MB, free: 4.848 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001427/0.001427, allocations: 169.3 kB / 171.6 MB, free: 15.27 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.439/1.439, allocations: 170.5 MB / 373.9 MB, free: 15.41 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001685/0.001685, allocations: 110.9 kB / 444.4 MB, free: 26.4 MB / 338.8 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.3738/0.3738, allocations: 73.39 MB / 0.666 GB, free: 88.88 MB / 466.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4891, allocations: 101.3 MB / 0.765 GB, free: 3.414 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4894, allocations: 75.95 kB / 0.765 GB, free: 3.34 MB / 482.8 MB Notification: Performance of FrontEnd: time 0.00664/0.4961, allocations: 1.76 MB / 0.7668 GB, free: 1.582 MB / 482.8 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4961, allocations: 0 / 0.7668 GB, free: 1.582 MB / 482.8 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.000313/0.4965, allocations: 337.1 kB / 0.7671 GB, free: 1.211 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4965, allocations: 8.031 kB / 0.7671 GB, free: 1.203 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.4966, allocations: 0 / 0.7671 GB, free: 1.203 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.4967, allocations: 163.1 kB / 0.7672 GB, free: 1.004 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4967, allocations: 4 kB / 0.7673 GB, free: 1 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4967, allocations: 7.844 kB / 0.7673 GB, free: 0.9922 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.297e-05/0.4968, allocations: 4 kB / 0.7673 GB, free: 0.9883 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.395e-05/0.4969, allocations: 29.69 kB / 0.7673 GB, free: 0.9531 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.4969, allocations: 4 kB / 0.7673 GB, free: 0.9492 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4969, allocations: 0 / 0.7673 GB, free: 0.9492 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4969, allocations: 0 / 0.7673 GB, free: 0.9492 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.4971, allocations: 126.2 kB / 0.7674 GB, free: 0.7891 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.4971, allocations: 30.61 kB / 0.7674 GB, free: 0.75 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.4972, allocations: 8.797 kB / 0.7675 GB, free: 0.7383 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.4975, allocations: 121.1 kB / 0.7676 GB, free: 0.6016 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.4975, allocations: 34.5 kB / 0.7676 GB, free: 0.5586 MB / 482.8 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4976, allocations: 0 / 0.7676 GB, free: 0.5586 MB / 482.8 MB Notification: Performance of matching and sorting (n=2): time 0.0008338/0.4984, allocations: 145.5 kB / 0.7677 GB, free: 420 kB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.4984, allocations: 51.41 kB / 0.7678 GB, free: 356 kB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.4985, allocations: 85.12 kB / 0.7679 GB, free: 264 kB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4985, allocations: 33.73 kB / 0.7679 GB, free: 224 kB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.4986, allocations: 88.12 kB / 0.768 GB, free: 132 kB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4986, allocations: 7.844 kB / 0.768 GB, free: 124 kB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.4986, allocations: 0 / 0.768 GB, free: 124 kB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4988, allocations: 310.8 kB / 0.7683 GB, free: 15.81 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.4988, allocations: 4 kB / 0.7683 GB, free: 15.8 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.4988, allocations: 8 kB / 0.7683 GB, free: 15.8 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.4989, allocations: 4 kB / 0.7683 GB, free: 15.79 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4989, allocations: 4.062 kB / 0.7683 GB, free: 15.79 MB / 498.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.633e-05/0.499, allocations: 49.62 kB / 0.7684 GB, free: 15.73 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.499, allocations: 5.094 kB / 0.7684 GB, free: 15.73 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.499, allocations: 0 / 0.7684 GB, free: 15.73 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.499, allocations: 3.906 kB / 0.7684 GB, free: 15.73 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.5019, allocations: 475.5 kB / 0.7688 GB, free: 15.26 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.5051, allocations: 1.566 MB / 0.7703 GB, free: 13.58 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5052, allocations: 15.98 kB / 0.7704 GB, free: 13.57 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5052, allocations: 4 kB / 0.7704 GB, free: 13.56 MB / 498.8 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: dp:VARIABLE(unit = "Pa" ) "Pressure difference" 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.0001332/0.5054, allocations: 113 kB / 0.7705 GB, free: 13.45 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.5054, allocations: 7.891 kB / 0.7705 GB, free: 13.44 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-06/0.5054, allocations: 3.312 kB / 0.7705 GB, free: 13.44 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5054, allocations: 4 kB / 0.7705 GB, free: 13.43 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-07/0.5054, allocations: 0 / 0.7705 GB, free: 13.43 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5054, allocations: 0 / 0.7705 GB, free: 13.43 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5056, allocations: 130.2 kB / 0.7706 GB, free: 13.27 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5056, allocations: 0 / 0.7706 GB, free: 13.27 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/0.5084, allocations: 491.4 kB / 0.7711 GB, free: 12.79 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.5084, allocations: 4 kB / 0.7711 GB, free: 12.79 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5084, allocations: 0 / 0.7711 GB, free: 12.79 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.5115, allocations: 1.566 MB / 0.7726 GB, free: 11.11 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5115, allocations: 0 / 0.7726 GB, free: 11.11 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001083/0.5116, allocations: 73.16 kB / 0.7727 GB, free: 11.02 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.5116, allocations: 77.11 kB / 0.7728 GB, free: 10.92 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.5117, allocations: 7.938 kB / 0.7728 GB, free: 10.91 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5118, allocations: 11.98 kB / 0.7728 GB, free: 10.9 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.5118, allocations: 8.031 kB / 0.7728 GB, free: 10.89 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.5118, allocations: 7.922 kB / 0.7728 GB, free: 10.89 MB / 498.8 MB Notification: Performance of sort global known variables: time 3.923e-05/0.5119, allocations: 79.28 kB / 0.7729 GB, free: 10.81 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.0002369/0.5121, allocations: 12 kB / 0.7729 GB, free: 10.8 MB / 498.8 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.0001752/0.5123, allocations: 95.25 kB / 0.773 GB, free: 10.7 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.004311/0.5166, allocations: 0.722 MB / 0.7737 GB, free: 9.973 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5166, allocations: 0 / 0.7737 GB, free: 9.973 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005648/0.5223, allocations: 0.9054 MB / 0.7746 GB, free: 9.066 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.5225, allocations: 3.906 kB / 0.7746 GB, free: 9.062 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.5258, allocations: 0.6244 MB / 0.7752 GB, free: 8.414 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.5261, allocations: 0.6919 MB / 0.7759 GB, free: 7.695 MB / 498.8 MB Notification: Performance of SimCode: time 1.042e-06/0.5261, allocations: 4 kB / 0.7759 GB, free: 7.691 MB / 498.8 MB Notification: Performance of Templates: time 0.002284/0.5284, allocations: 0.4897 MB / 0.7763 GB, free: 7.215 MB / 498.8 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)