Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.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.FMI.Examples.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven") [/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.1998/0.2005, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven): time 0.7253/0.9259, allocations: 253 MB / 0.8404 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03626/0.9622, allocations: 26.09 MB / 0.8659 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004358/0.9666, allocations: 63.56 kB / 0.866 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00531/0.9719, allocations: 1.042 MB / 0.867 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.9826, allocations: 2.763 MB / 0.8697 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.9931, allocations: 2.885 MB / 0.8725 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008132/1.001, allocations: 2.69 MB / 0.8751 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/1.004, allocations: 1.326 MB / 0.8764 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/1.008, allocations: 1.472 MB / 0.8779 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/1.01, allocations: 0.8985 MB / 0.8787 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/1.01, allocations: 68 kB / 0.8788 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/1.013, allocations: 1.408 MB / 0.8802 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004402/1.014, allocations: 422.5 kB / 0.8806 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005927/1.014, allocations: 440.7 kB / 0.881 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/1.018, allocations: 3.043 MB / 0.884 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.018, allocations: 4 kB / 0.884 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.934e-06/1.018, allocations: 0 / 0.884 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.765e-05/1.018, allocations: 0 / 0.884 GB, free: 6.031 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003941/1.022, allocations: 2.073 MB / 0.886 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.022, allocations: 8.031 kB / 0.886 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/1.027, allocations: 0.8094 MB / 0.8868 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/1.031, allocations: 1.851 MB / 0.8886 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006509/1.031, allocations: 230.4 kB / 0.8888 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/1.031, allocations: 128 kB / 0.8889 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/1.035, allocations: 1.669 MB / 0.8906 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.035, allocations: 0 / 0.8906 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.035, allocations: 52 kB / 0.8906 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/1.035, allocations: 46.47 kB / 0.8907 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/1.039, allocations: 1.54 MB / 0.8922 GB, free: 13.44 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/1.049, allocations: 7.414 MB / 0.8994 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/1.053, allocations: 1.223 MB / 0.9006 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/1.053, allocations: 11.95 kB / 0.9006 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.053, allocations: 34.56 kB / 0.9007 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009601/1.054, allocations: 166.8 kB / 0.9008 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=38): time 3.667e-06/1.054, allocations: 0 / 0.9008 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.004604/1.059, allocations: 1.39 MB / 0.9022 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.059, allocations: 59.16 kB / 0.9022 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/1.061, allocations: 1.529 MB / 0.9037 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.061, allocations: 37.7 kB / 0.9038 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/1.062, allocations: 0.8024 MB / 0.9045 GB, free: 172 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.062, allocations: 134 kB / 0.9047 GB, free: 36 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/1.062, allocations: 16 kB / 0.9047 GB, free: 20 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.063, allocations: 334 kB / 0.905 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/1.064, allocations: 0.5009 MB / 0.9055 GB, free: 15.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.065, allocations: 0.6982 MB / 0.9062 GB, free: 14.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/1.067, allocations: 0.5853 MB / 0.9067 GB, free: 13.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.067, allocations: 0 / 0.9067 GB, free: 13.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003465/1.07, allocations: 1.41 MB / 0.9081 GB, free: 12.39 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008613/1.071, allocations: 1.851 MB / 0.9099 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.071, allocations: 8 kB / 0.9099 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.071, allocations: 8 kB / 0.9099 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.074, allocations: 431.5 kB / 0.9104 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/1.076, allocations: 1.736 MB / 0.912 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.078, allocations: 215.6 kB / 0.9123 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.078, allocations: 47.91 kB / 0.9123 GB, free: 7.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.078, allocations: 4 kB / 0.9123 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002909/1.081, allocations: 1.292 MB / 0.9136 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.081, allocations: 8 kB / 0.9136 GB, free: 6.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/1.081, allocations: 8 kB / 0.9136 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/1.082, allocations: 192 kB / 0.9138 GB, free: 6.312 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.082, allocations: 8 kB / 0.9138 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.084, allocations: 183.7 kB / 0.9139 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/1.084, allocations: 43.98 kB / 0.914 GB, free: 6.082 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.001015/1.085, allocations: 0.497 MB / 0.9145 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.085, allocations: 154.1 kB / 0.9146 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/1.088, allocations: 1.036 MB / 0.9156 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.088, allocations: 4 kB / 0.9156 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/1.088, allocations: 0 / 0.9156 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.088, allocations: 3.984 kB / 0.9156 GB, free: 4.371 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/1.094, allocations: 2.644 MB / 0.9182 GB, free: 1.633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.094, allocations: 0 / 0.9182 GB, free: 1.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/1.096, allocations: 371.8 kB / 0.9186 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.096, allocations: 4 kB / 0.9186 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/1.096, allocations: 23.92 kB / 0.9186 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/1.099, allocations: 1.681 MB / 0.9202 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.099, allocations: 8 kB / 0.9203 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/1.102, allocations: 1.236 MB / 0.9215 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/1.102, allocations: 307 kB / 0.9218 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/1.103, allocations: 15.94 kB / 0.9218 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.104, allocations: 155.7 kB / 0.9219 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.104, allocations: 27.95 kB / 0.9219 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/1.104, allocations: 15.98 kB / 0.922 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001552/1.105, allocations: 1.063 MB / 0.923 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.105, allocations: 0 / 0.923 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001941/1.107, allocations: 0.7639 MB / 0.9237 GB, free: 11.74 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 38 * 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.0006933/1.108, allocations: 337 kB / 0.9241 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006003/1.114, allocations: 2.475 MB / 0.9265 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.114, allocations: 0 / 0.9265 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/1.117, allocations: 0.8015 MB / 0.9273 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/1.121, allocations: 0.8723 MB / 0.9281 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/1.129, allocations: 3.49 MB / 0.9315 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009026/1.13, allocations: 1.351 MB / 0.9328 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001805/1.132, allocations: 345.5 kB / 0.9332 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/1.132, allocations: 119.4 kB / 0.9333 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of SimCode: time 1.543e-06/1.132, allocations: 0 / 0.9333 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of Templates: time 0.05176/1.184, allocations: 32.28 MB / 0.9648 GB, free: 1.906 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFanPressureDriven.pipe 2>&1) Environment - environmentSimulation: