Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.4 MB / 139.9 MB, free: 2.785 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.0009686/0.0009685, allocations: 173.8 kB / 171.8 MB, free: 4.965 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.242/1.242, 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.001603/0.001603, allocations: 107.6 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.1497/0.1497, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6714, allocations: 101.4 MB / 0.7656 GB, free: 14.28 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.6718, allocations: 75.95 kB / 0.7657 GB, free: 14.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006738/0.6785, allocations: 2.14 MB / 0.7678 GB, free: 12.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6785, allocations: 0 / 0.7678 GB, free: 12.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.6786, allocations: 0 / 0.7678 GB, free: 12.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003934/0.679, allocations: 338.5 kB / 0.7681 GB, free: 11.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.679, allocations: 12.02 kB / 0.7681 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.6791, allocations: 3.75 kB / 0.7681 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.6792, allocations: 163.1 kB / 0.7683 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.6793, allocations: 0 / 0.7683 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.6793, allocations: 4.625 kB / 0.7683 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.899e-05/0.6794, allocations: 19.95 kB / 0.7683 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.6795, allocations: 49.61 kB / 0.7684 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6795, allocations: 0 / 0.7684 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.6795, allocations: 1.031 kB / 0.7684 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6795, allocations: 4 kB / 0.7684 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.6797, allocations: 146.1 kB / 0.7685 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.6799, allocations: 54.56 kB / 0.7685 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.6799, allocations: 20.86 kB / 0.7686 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.6802, allocations: 113.1 kB / 0.7687 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.6803, allocations: 38.56 kB / 0.7687 GB, free: 10.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.6803, allocations: 0 / 0.7687 GB, free: 10.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.003569/0.6839, allocations: 0.9187 MB / 0.7696 GB, free: 9.953 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.6839, allocations: 55.41 kB / 0.7697 GB, free: 9.887 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.684, allocations: 88.98 kB / 0.7697 GB, free: 9.793 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.684, allocations: 25.7 kB / 0.7698 GB, free: 9.762 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.6841, allocations: 84.14 kB / 0.7699 GB, free: 9.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.6841, allocations: 39.45 kB / 0.7699 GB, free: 9.637 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.6842, allocations: 0 / 0.7699 GB, free: 9.637 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6843, allocations: 315 kB / 0.7702 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.6844, allocations: 32 kB / 0.7702 GB, free: 9.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.6844, allocations: 24.62 kB / 0.7702 GB, free: 9.266 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.6845, allocations: 33.17 kB / 0.7703 GB, free: 9.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.6845, allocations: 0 / 0.7703 GB, free: 9.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002004/0.6847, allocations: 101.6 kB / 0.7704 GB, free: 9.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6848, allocations: 4 kB / 0.7704 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6848, allocations: 4 kB / 0.7704 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.6848, allocations: 3.953 kB / 0.7704 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.6851, allocations: 47.91 kB / 0.7704 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.6851, allocations: 3.984 kB / 0.7704 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.6853, allocations: 15.98 kB / 0.7704 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6853, allocations: 4 kB / 0.7705 GB, free: 9.047 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001037/0.6854, allocations: 120 kB / 0.7706 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.6855, allocations: 4 kB / 0.7706 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.6855, allocations: 8.406 kB / 0.7706 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.6855, allocations: 7.953 kB / 0.7706 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.6855, allocations: 3.984 kB / 0.7706 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6855, allocations: 0 / 0.7706 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.6861, allocations: 339 kB / 0.7709 GB, free: 8.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6861, allocations: 0 / 0.7709 GB, free: 8.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.6863, allocations: 51.89 kB / 0.771 GB, free: 8.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6864, allocations: 3.938 kB / 0.771 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.6864, allocations: 3.953 kB / 0.771 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6864, allocations: 0.875 kB / 0.771 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6864, allocations: 0 / 0.771 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.6867, allocations: 232.9 kB / 0.7712 GB, free: 8.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.6868, allocations: 85.08 kB / 0.7713 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.6868, allocations: 3.984 kB / 0.7713 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.687, allocations: 23.97 kB / 0.7713 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.6871, allocations: 7.984 kB / 0.7713 GB, free: 8.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.6871, allocations: 8 kB / 0.7713 GB, free: 8.082 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.6871, allocations: 75.28 kB / 0.7714 GB, free: 8.008 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.905e-06/0.6871, allocations: 4.094 kB / 0.7714 GB, free: 8.004 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.6874, allocations: 27.97 kB / 0.7714 GB, free: 7.977 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001435/0.6876, allocations: 103.2 kB / 0.7715 GB, free: 7.867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.6877, allocations: 71.98 kB / 0.7716 GB, free: 7.797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6877, allocations: 0 / 0.7716 GB, free: 7.797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.6878, allocations: 43.92 kB / 0.7716 GB, free: 7.754 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.688, allocations: 1.75 kB / 0.7716 GB, free: 7.754 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6892, allocations: 393 kB / 0.772 GB, free: 7.348 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6895, allocations: 0.6885 MB / 0.7727 GB, free: 6.633 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.6896, allocations: 12 kB / 0.7727 GB, free: 6.621 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.6897, allocations: 11.44 kB / 0.7727 GB, free: 6.609 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6897, allocations: 3.938 kB / 0.7727 GB, free: 6.605 MB / 474.7 MB Notification: Performance of Templates: time 0.003169/0.6929, allocations: 0.802 MB / 0.7735 GB, free: 5.836 MB / 474.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)