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.2127/0.2135, allocations: 82.21 MB / 0.5935 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001662/0.2152, allocations: 0.9615 MB / 0.5944 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.2162, allocations: 479.6 kB / 0.5949 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.2163, allocations: 0 / 0.5949 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.2163, allocations: 0 / 0.5949 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.2164, allocations: 0 / 0.5949 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.217, allocations: 103.7 kB / 0.595 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.821e-05/0.2171, allocations: 7.938 kB / 0.595 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.2172, allocations: 7.984 kB / 0.595 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.2172, allocations: 3.938 kB / 0.595 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.2173, allocations: 7.938 kB / 0.595 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2174, allocations: 0 / 0.595 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/0.218, allocations: 335.4 kB / 0.5953 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.218, allocations: 3.938 kB / 0.5953 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.2181, allocations: 29.7 kB / 0.5953 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.2184, allocations: 92.09 kB / 0.5954 GB, free: 3.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.2184, allocations: 4 kB / 0.5954 GB, free: 3.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.2184, allocations: 0 / 0.5954 GB, free: 3.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2184, allocations: 0 / 0.5954 GB, free: 3.875 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.0005648/0.219, allocations: 351.2 kB / 0.5958 GB, free: 3.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.2191, allocations: 8.031 kB / 0.5958 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2191, allocations: 0 / 0.5958 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2193, allocations: 163.1 kB / 0.5959 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2193, allocations: 0 / 0.5959 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2193, allocations: 0 / 0.5959 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.2199, allocations: 105.5 kB / 0.596 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2199, allocations: 0 / 0.596 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.22, allocations: 0 / 0.596 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.22, allocations: 0 / 0.596 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.2203, allocations: 63.94 kB / 0.5961 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.2206, allocations: 153.7 kB / 0.5962 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.2212, allocations: 82.55 kB / 0.5963 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.2212, allocations: 8.922 kB / 0.5963 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.2216, allocations: 121 kB / 0.5964 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2216, allocations: 34.5 kB / 0.5965 GB, free: 2.625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.627e-06/0.2216, allocations: 7.984 kB / 0.5965 GB, free: 2.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0009305/0.2226, allocations: 169.6 kB / 0.5966 GB, free: 2.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.2226, allocations: 51.41 kB / 0.5967 GB, free: 2.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2227, allocations: 93.86 kB / 0.5968 GB, free: 2.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2228, allocations: 25.7 kB / 0.5968 GB, free: 2.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.2228, allocations: 80.14 kB / 0.5969 GB, free: 2.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2229, allocations: 3.906 kB / 0.5969 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2229, allocations: 0 / 0.5969 GB, free: 2.164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.223, allocations: 318.8 kB / 0.5972 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.2231, allocations: 24.14 kB / 0.5972 GB, free: 1.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.2232, allocations: 15.98 kB / 0.5972 GB, free: 1.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.2233, allocations: 27.98 kB / 0.5973 GB, free: 1.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2233, allocations: 4 kB / 0.5973 GB, free: 1.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002297/0.2236, allocations: 73.66 kB / 0.5973 GB, free: 1.695 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2236, allocations: 8 kB / 0.5973 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2236, allocations: 0 / 0.5973 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.2236, allocations: 3.953 kB / 0.5973 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.225, allocations: 251.8 kB / 0.5976 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.2278, allocations: 1.587 MB / 0.5991 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.2278, allocations: 16.12 kB / 0.5991 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2279, allocations: 3.938 kB / 0.5992 GB, free: 15.7 MB / 462.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 (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 9.5e-05/0.228, allocations: 114.7 kB / 0.5993 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.228, allocations: 0 / 0.5993 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.228, allocations: 11.08 kB / 0.5993 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.228, allocations: 0 / 0.5993 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.228, allocations: 0 / 0.5993 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.228, allocations: 0 / 0.5993 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.2282, allocations: 157.6 kB / 0.5994 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2282, allocations: 4 kB / 0.5994 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.2295, allocations: 259.7 kB / 0.5997 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2295, allocations: 0 / 0.5997 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2295, allocations: 0 / 0.5997 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.2319, allocations: 1.591 MB / 0.6012 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.232, allocations: 3.938 kB / 0.6012 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.2322, allocations: 105.1 kB / 0.6013 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.2323, allocations: 77.11 kB / 0.6014 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2323, allocations: 4 kB / 0.6014 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.2323, allocations: 11.94 kB / 0.6014 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2324, allocations: 12.03 kB / 0.6014 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2324, allocations: 4 kB / 0.6014 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.2325, allocations: 79.27 kB / 0.6015 GB, free: 13.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2325, allocations: 0 / 0.6015 GB, free: 13.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00024/0.2327, allocations: 8 kB / 0.6015 GB, free: 13.05 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 (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.0001392/0.2329, allocations: 95.25 kB / 0.6016 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2344, allocations: 307.8 kB / 0.6019 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2344, allocations: 0 / 0.6019 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.2368, allocations: 459.5 kB / 0.6023 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.2369, allocations: 4.609 kB / 0.6023 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2389, allocations: 494.9 kB / 0.6028 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.2393, allocations: 0.6692 MB / 0.6035 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.2393, allocations: 3.906 kB / 0.6035 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.2394, allocations: 19.38 kB / 0.6035 GB, free: 10.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.2394, allocations: 0 / 0.6035 GB, free: 10.96 MB / 462.1 MB Notification: Performance of Templates: time 0.002947/0.2423, allocations: 448.5 kB / 0.6039 GB, free: 10.56 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: