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") [: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.7635/0.7635, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001271/0.001271, allocations: 171.7 kB / 171.6 MB, free: 2.008 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.63/1.63, allocations: 170.5 MB / 373.8 MB, free: 15.85 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.001745/0.001745, allocations: 103.4 kB / 444.4 MB, free: 9.398 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.547/0.5471, allocations: 73.39 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.6896, allocations: 100.9 MB / 0.7646 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.6899, allocations: 76.45 kB / 0.7646 GB, free: 3.301 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003343/0.6932, allocations: 0.7475 MB / 0.7654 GB, free: 2.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.6932, allocations: 4 kB / 0.7654 GB, free: 2.586 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.0002833/0.6935, allocations: 324 kB / 0.7657 GB, free: 2.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6936, allocations: 8.031 kB / 0.7657 GB, free: 2.219 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.6936, allocations: 2.031 kB / 0.7657 GB, free: 2.219 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6938, allocations: 163.1 kB / 0.7658 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.6938, allocations: 0 / 0.7658 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.6938, allocations: 3.906 kB / 0.7658 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.443e-05/0.6939, allocations: 8 kB / 0.7658 GB, free: 2.008 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.829e-05/0.6939, allocations: 29.69 kB / 0.7659 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.694, allocations: 4 kB / 0.7659 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.694, allocations: 7.781 kB / 0.7659 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.694, allocations: 4 kB / 0.7659 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6942, allocations: 127.9 kB / 0.766 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.151e-05/0.6942, allocations: 24.2 kB / 0.766 GB, free: 1.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.6943, allocations: 8.922 kB / 0.766 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.6946, allocations: 113.1 kB / 0.7662 GB, free: 1.629 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.6946, allocations: 34.55 kB / 0.7662 GB, free: 1.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 3.126e-06/0.6946, allocations: 4 kB / 0.7662 GB, free: 1.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004985/0.6951, allocations: 85.56 kB / 0.7663 GB, free: 1.492 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.6952, allocations: 55.39 kB / 0.7663 GB, free: 1.426 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.6953, allocations: 92.94 kB / 0.7664 GB, free: 1.328 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.6953, allocations: 25.7 kB / 0.7664 GB, free: 1.297 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.6954, allocations: 80.14 kB / 0.7665 GB, free: 1.215 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6954, allocations: 8.938 kB / 0.7665 GB, free: 1.207 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.6954, allocations: 4 kB / 0.7665 GB, free: 1.203 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6956, allocations: 314.8 kB / 0.7668 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.6956, allocations: 0 / 0.7668 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.6956, allocations: 8 kB / 0.7668 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/0.6956, allocations: 7.984 kB / 0.7668 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6956, allocations: 0 / 0.7668 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.671e-05/0.6957, allocations: 33.7 kB / 0.7669 GB, free: 0.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6957, allocations: 10.73 kB / 0.7669 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6957, allocations: 4.094 kB / 0.7669 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6958, allocations: 3.906 kB / 0.7669 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.6976, allocations: 283.7 kB / 0.7672 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.7002, allocations: 1.432 MB / 0.7686 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.375e-05/0.7003, allocations: 12.02 kB / 0.7686 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.7004, allocations: 0 / 0.7686 GB, free: 14.99 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o 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.0001842/0.7005, allocations: 112.9 kB / 0.7687 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.7006, allocations: 3.906 kB / 0.7687 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.002e-05/0.7006, allocations: 3.312 kB / 0.7687 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.7006, allocations: 0 / 0.7687 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.7006, allocations: 0 / 0.7687 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7006, allocations: 0 / 0.7687 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.7007, allocations: 138.2 kB / 0.7688 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7007, allocations: 0 / 0.7688 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.7026, allocations: 295.6 kB / 0.7691 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7026, allocations: 0 / 0.7691 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.7027, allocations: 8.984 kB / 0.7691 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.7049, allocations: 1.421 MB / 0.7705 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7049, allocations: 4.781 kB / 0.7705 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.302e-05/0.705, allocations: 65.08 kB / 0.7706 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.7051, allocations: 81.09 kB / 0.7706 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.7051, allocations: 0 / 0.7706 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.7052, allocations: 12.09 kB / 0.7707 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.7053, allocations: 7.922 kB / 0.7707 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.7053, allocations: 8 kB / 0.7707 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.957e-05/0.7053, allocations: 75.28 kB / 0.7707 GB, free: 12.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.7055, allocations: 8 kB / 0.7707 GB, free: 12.58 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 (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.0001617/0.7057, allocations: 100.9 kB / 0.7708 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.7086, allocations: 439.6 kB / 0.7713 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.7086, allocations: 0 / 0.7713 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003861/0.7125, allocations: 0.5659 MB / 0.7718 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.7126, allocations: 3.906 kB / 0.7718 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.7146, allocations: 407.7 kB / 0.7722 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.715, allocations: 0.6841 MB / 0.7729 GB, free: 10.34 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.715, allocations: 0 / 0.7729 GB, free: 10.34 MB / 490.7 MB Notification: Performance of Templates: time 0.002523/0.7175, allocations: 465.7 kB / 0.7733 GB, free: 9.926 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)