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.199/0.2009, allocations: 80.84 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002746/0.2037, allocations: 1.306 MB / 0.591 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.2046, allocations: 0.5224 MB / 0.5915 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.2047, allocations: 4 kB / 0.5915 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2047, allocations: 0 / 0.5915 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.2048, allocations: 7.922 kB / 0.5915 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2051, allocations: 95.67 kB / 0.5916 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.2052, allocations: 7.938 kB / 0.5916 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.2052, allocations: 0 / 0.5916 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.2053, allocations: 15.92 kB / 0.5916 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.2053, allocations: 7.922 kB / 0.5916 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2054, allocations: 4 kB / 0.5916 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.2059, allocations: 343.4 kB / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.2059, allocations: 0 / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2059, allocations: 11.92 kB / 0.5919 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.2062, allocations: 124 kB / 0.5921 GB, free: 4.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2062, allocations: 0 / 0.5921 GB, free: 4.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.2062, allocations: 0 / 0.5921 GB, free: 4.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2062, allocations: 0 / 0.5921 GB, free: 4.676 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.0004102/0.2066, allocations: 351.4 kB / 0.5924 GB, free: 4.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2067, allocations: 12.03 kB / 0.5924 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.2067, allocations: 0.9375 kB / 0.5924 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2068, allocations: 164.4 kB / 0.5926 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2068, allocations: 384 / 0.5926 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2069, allocations: 384 / 0.5926 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.2074, allocations: 97.64 kB / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2074, allocations: 0 / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2074, allocations: 4 kB / 0.5927 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2074, allocations: 4 kB / 0.5927 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.2078, allocations: 59.94 kB / 0.5927 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.208, allocations: 149.7 kB / 0.5929 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.2084, allocations: 74.52 kB / 0.5929 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.2084, allocations: 8.844 kB / 0.593 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.2087, allocations: 105.1 kB / 0.5931 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2087, allocations: 46.44 kB / 0.5931 GB, free: 3.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.2087, allocations: 0 / 0.5931 GB, free: 3.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008095/0.2095, allocations: 141.7 kB / 0.5932 GB, free: 3.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2096, allocations: 55.41 kB / 0.5933 GB, free: 3.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.2097, allocations: 89.86 kB / 0.5934 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2097, allocations: 25.7 kB / 0.5934 GB, free: 3.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.2097, allocations: 96.28 kB / 0.5935 GB, free: 3.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.2097, allocations: 3.906 kB / 0.5935 GB, free: 3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2098, allocations: 9.719 kB / 0.5935 GB, free: 2.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2099, allocations: 314.8 kB / 0.5938 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.21, allocations: 15.98 kB / 0.5938 GB, free: 2.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.2101, allocations: 23.92 kB / 0.5938 GB, free: 2.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2103, allocations: 48.88 kB / 0.5939 GB, free: 2.578 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2103, allocations: 0 / 0.5939 GB, free: 2.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002094/0.2105, allocations: 73.61 kB / 0.594 GB, free: 2.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2105, allocations: 4 kB / 0.594 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2105, allocations: 0 / 0.594 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2106, allocations: 0 / 0.594 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2121, allocations: 219.7 kB / 0.5942 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.2146, allocations: 1.548 MB / 0.5957 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.2147, allocations: 8.031 kB / 0.5957 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2147, allocations: 3.984 kB / 0.5957 GB, free: 0.5898 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 9.122e-05/0.2148, allocations: 110.7 kB / 0.5958 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.2148, allocations: 11.97 kB / 0.5958 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.2148, allocations: 7.125 kB / 0.5958 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2148, allocations: 0 / 0.5958 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2148, allocations: 0 / 0.5958 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2149, allocations: 3.938 kB / 0.5958 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.215, allocations: 153.6 kB / 0.596 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.215, allocations: 0 / 0.596 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.2164, allocations: 227.7 kB / 0.5962 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2164, allocations: 3.938 kB / 0.5962 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2164, allocations: 4 kB / 0.5962 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.2189, allocations: 1.536 MB / 0.5977 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.219, allocations: 0 / 0.5977 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2192, allocations: 105.1 kB / 0.5978 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.2193, allocations: 81.14 kB / 0.5979 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2193, allocations: 4 kB / 0.5979 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.2194, allocations: 11.98 kB / 0.5979 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2194, allocations: 3.938 kB / 0.5979 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2194, allocations: 0 / 0.5979 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.2195, allocations: 79.28 kB / 0.598 GB, free: 14.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2195, allocations: 0 / 0.598 GB, free: 14.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000229/0.2197, allocations: 8.094 kB / 0.598 GB, free: 14.03 MB / 462.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.0001757/0.2199, allocations: 103.2 kB / 0.5981 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.2215, allocations: 259.7 kB / 0.5983 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2215, allocations: 3.938 kB / 0.5983 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.2241, allocations: 415.6 kB / 0.5987 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.2243, allocations: 2.531 kB / 0.5987 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.2266, allocations: 443.9 kB / 0.5991 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.2269, allocations: 0.6692 MB / 0.5998 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.2269, allocations: 0 / 0.5998 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.2269, allocations: 11.44 kB / 0.5998 GB, free: 12.09 MB / 462.1 MB Notification: Performance of SimCode: time 9.61e-07/0.2269, allocations: 0 / 0.5998 GB, free: 12.09 MB / 462.1 MB Notification: Performance of Templates: time 0.002855/0.2298, allocations: 477 kB / 0.6003 GB, free: 11.66 MB / 462.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)