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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.4496/0.452, allocations: 80.81 MB / 0.5904 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002829/0.4549, allocations: 1.247 MB / 0.5916 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.4557, allocations: 0.5092 MB / 0.5921 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.4558, allocations: 1.281 kB / 0.5921 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.4558, allocations: 3.938 kB / 0.5921 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.4558, allocations: 0 / 0.5921 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.4563, allocations: 117.9 kB / 0.5922 GB, free: 20.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.4563, allocations: 12.8 kB / 0.5923 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.4564, allocations: 8.703 kB / 0.5923 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.4564, allocations: 0.9375 kB / 0.5923 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.4565, allocations: 10.66 kB / 0.5923 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.4565, allocations: 0 / 0.5923 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.457, allocations: 347.3 kB / 0.5926 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.457, allocations: 5.281 kB / 0.5926 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.457, allocations: 0 / 0.5926 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.4572, allocations: 130.2 kB / 0.5927 GB, free: 20.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4572, allocations: 8.5 kB / 0.5927 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4572, allocations: 0 / 0.5927 GB, free: 20.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.4573, allocations: 0.7812 kB / 0.5927 GB, free: 20.51 MB / 446.1 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.0003635/0.4576, allocations: 344.3 kB / 0.5931 GB, free: 20.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4577, allocations: 11.98 kB / 0.5931 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.4577, allocations: 9.75 kB / 0.5931 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.524e-05/0.4578, allocations: 160.4 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.4578, allocations: 5.219 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4578, allocations: 384 / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.4583, allocations: 87.16 kB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4584, allocations: 0 / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.4584, allocations: 4 kB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4584, allocations: 3.531 kB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.4587, allocations: 55.81 kB / 0.5934 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.4589, allocations: 161.5 kB / 0.5935 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.4593, allocations: 74.02 kB / 0.5936 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.4593, allocations: 16.91 kB / 0.5936 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.4596, allocations: 105.1 kB / 0.5937 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4596, allocations: 34.5 kB / 0.5938 GB, free: 19.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.4596, allocations: 0 / 0.5938 GB, free: 19.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007735/0.4604, allocations: 149.6 kB / 0.5939 GB, free: 19.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4604, allocations: 51.41 kB / 0.594 GB, free: 19.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.4605, allocations: 101.9 kB / 0.5941 GB, free: 18.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.4605, allocations: 25.7 kB / 0.5941 GB, free: 18.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.544e-05/0.4605, allocations: 80.14 kB / 0.5942 GB, free: 18.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.4606, allocations: 3.906 kB / 0.5942 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.4606, allocations: 13.72 kB / 0.5942 GB, free: 18.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.4607, allocations: 318.8 kB / 0.5945 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.4608, allocations: 24.05 kB / 0.5945 GB, free: 18.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.4608, allocations: 15.98 kB / 0.5945 GB, free: 18.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.461, allocations: 40.89 kB / 0.5946 GB, free: 18.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.461, allocations: 0 / 0.5946 GB, free: 18.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.4612, allocations: 81.53 kB / 0.5946 GB, free: 18.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4613, allocations: 4 kB / 0.5946 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4613, allocations: 0 / 0.5946 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.4613, allocations: 4 kB / 0.5946 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.4627, allocations: 215.8 kB / 0.5948 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.465, allocations: 1.65 MB / 0.5965 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.4651, allocations: 15.91 kB / 0.5965 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4651, allocations: 4 kB / 0.5965 GB, free: 16.32 MB / 446.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.4652, allocations: 105.8 kB / 0.5966 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.4652, allocations: 3.984 kB / 0.5966 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.4652, allocations: 11.19 kB / 0.5966 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4652, allocations: 0 / 0.5966 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4652, allocations: 0 / 0.5966 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4652, allocations: 7.938 kB / 0.5966 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.447e-05/0.4653, allocations: 157.6 kB / 0.5967 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4653, allocations: 0 / 0.5967 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.4667, allocations: 227.7 kB / 0.597 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4667, allocations: 3.938 kB / 0.597 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.4667, allocations: 0 / 0.597 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.4688, allocations: 1.654 MB / 0.5986 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4688, allocations: 0 / 0.5986 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.469, allocations: 97.19 kB / 0.5987 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.4691, allocations: 81.05 kB / 0.5988 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-06/0.4691, allocations: 4 kB / 0.5988 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.4692, allocations: 7.984 kB / 0.5988 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.4692, allocations: 7.969 kB / 0.5988 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4692, allocations: 0 / 0.5988 GB, free: 13.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.4692, allocations: 79.28 kB / 0.5988 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4692, allocations: 0 / 0.5988 GB, free: 13.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.4694, allocations: 8 kB / 0.5989 GB, free: 13.65 MB / 446.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000112/0.4696, allocations: 99.23 kB / 0.599 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.4711, allocations: 267.8 kB / 0.5992 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4711, allocations: 0 / 0.5992 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.4735, allocations: 411.6 kB / 0.5996 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4737, allocations: 7.938 kB / 0.5996 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.4758, allocations: 433.6 kB / 0.6 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.4761, allocations: 0.6768 MB / 0.6007 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.46e-05/0.4761, allocations: 3.938 kB / 0.6007 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.4761, allocations: 7.438 kB / 0.6007 GB, free: 11.71 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4761, allocations: 0 / 0.6007 GB, free: 11.71 MB / 446.1 MB Notification: Performance of Templates: time 0.0029/0.479, allocations: 498 kB / 0.6012 GB, free: 11.27 MB / 446.1 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)