Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.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.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan") translateModel(Buildings.Fluid.FMI.Examples.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan") [/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.1802/0.181, allocations: 82.22 MB / 0.5935 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFan): time 0.6613/0.8423, allocations: 285.4 MB / 0.8722 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03418/0.8766, allocations: 27.63 MB / 0.8992 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.8794, allocations: 67.62 kB / 0.8992 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.8832, allocations: 0.912 MB / 0.9001 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.89, allocations: 2.194 MB / 0.9023 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.8954, allocations: 1.687 MB / 0.9039 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00685/0.9023, allocations: 4.879 MB / 0.9087 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.9054, allocations: 1.298 MB / 0.9099 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.9094, allocations: 1.583 MB / 0.9115 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.9122, allocations: 1.276 MB / 0.9127 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.9127, allocations: 72 kB / 0.9128 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.9178, allocations: 1.918 MB / 0.9147 GB, free: 9.543 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00089/0.9187, allocations: 462.2 kB / 0.9151 GB, free: 9.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.9196, allocations: 436.8 kB / 0.9155 GB, free: 8.656 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005026/0.9247, allocations: 3.281 MB / 0.9187 GB, free: 5.367 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9247, allocations: 4 kB / 0.9187 GB, free: 5.363 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9247, allocations: 0 / 0.9187 GB, free: 5.363 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000105/0.9248, allocations: 4 kB / 0.9187 GB, free: 5.359 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004844/0.9297, allocations: 2.12 MB / 0.9208 GB, free: 3.172 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9297, allocations: 12.03 kB / 0.9208 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.9344, allocations: 0.8171 MB / 0.9216 GB, free: 2.34 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.9384, allocations: 1.855 MB / 0.9234 GB, free: 440 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000631/0.9391, allocations: 230.4 kB / 0.9237 GB, free: 208 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.9395, allocations: 128 kB / 0.9238 GB, free: 80 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.9436, allocations: 1.652 MB / 0.9254 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.9437, allocations: 3.938 kB / 0.9254 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.9438, allocations: 56 kB / 0.9254 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/0.9439, allocations: 50.44 kB / 0.9255 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.948, allocations: 1.524 MB / 0.927 GB, free: 12.72 MB / 0.6856 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.0119/0.96, allocations: 7.24 MB / 0.934 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.9625, allocations: 0.7311 MB / 0.9348 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.9633, allocations: 300.7 kB / 0.9351 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.9636, allocations: 190.2 kB / 0.9352 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.9637, allocations: 50.42 kB / 0.9353 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008128/0.9645, allocations: 90.72 kB / 0.9354 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 4.379e-06/0.9645, allocations: 0 / 0.9354 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.00388/0.9684, allocations: 1.396 MB / 0.9367 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.9685, allocations: 55.41 kB / 0.9368 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.9722, allocations: 1.8 MB / 0.9385 GB, free: 248 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.9723, allocations: 33.7 kB / 0.9386 GB, free: 208 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/0.9732, allocations: 0.7919 MB / 0.9393 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.9734, allocations: 130.1 kB / 0.9395 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.9735, allocations: 12 kB / 0.9395 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9737, allocations: 333.9 kB / 0.9398 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.975, allocations: 480.9 kB / 0.9403 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.9764, allocations: 0.6669 MB / 0.9409 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.9779, allocations: 0.5541 MB / 0.9415 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.9779, allocations: 0 / 0.9415 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003743/0.9817, allocations: 1.55 MB / 0.943 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.9819, allocations: 280.1 kB / 0.9432 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.9819, allocations: 4 kB / 0.9432 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.9822, allocations: 57.7 kB / 0.9433 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.9832, allocations: 211.7 kB / 0.9435 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.9856, allocations: 2.817 MB / 0.9462 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.9877, allocations: 294.5 kB / 0.9465 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.9879, allocations: 39.98 kB / 0.9466 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.9879, allocations: 4 kB / 0.9466 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002977/0.9909, allocations: 1.436 MB / 0.948 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.9909, allocations: 4 kB / 0.948 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.9911, allocations: 66.09 kB / 0.948 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/0.992, allocations: 179.8 kB / 0.9482 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.9942, allocations: 2.817 MB / 0.951 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.9959, allocations: 215.7 kB / 0.9512 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.9961, allocations: 43.98 kB / 0.9512 GB, free: 2.438 MB / 0.7012 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.9971, allocations: 0.5047 MB / 0.9517 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.9975, allocations: 158 kB / 0.9518 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.9996, allocations: 0.9386 MB / 0.9528 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.9997, allocations: 8 kB / 0.9528 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9997, allocations: 0 / 0.9528 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9997, allocations: 3.938 kB / 0.9528 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/1.004, allocations: 2.207 MB / 0.9549 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.004, allocations: 4.031 kB / 0.9549 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/1.005, allocations: 107.8 kB / 0.955 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/1.005, allocations: 53.69 kB / 0.9551 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/1.005, allocations: 12 kB / 0.9551 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/1.007, allocations: 2.809 MB / 0.9578 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.007, allocations: 0 / 0.9578 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/1.009, allocations: 1.031 MB / 0.9589 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008705/1.01, allocations: 314.9 kB / 0.9592 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.011, allocations: 15.94 kB / 0.9592 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.012, allocations: 147.7 kB / 0.9593 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/1.012, allocations: 23.97 kB / 0.9593 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/1.012, allocations: 15.98 kB / 0.9593 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002707/1.015, allocations: 1.264 MB / 0.9606 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.01e-07/1.015, allocations: 4 kB / 0.9606 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003467/1.018, allocations: 0.7758 MB / 0.9613 GB, free: 7.512 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/1.019, allocations: 340 kB / 0.9617 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005047/1.024, allocations: 2.532 MB / 0.9641 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.024, allocations: 0 / 0.9641 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.025, allocations: 0.5294 MB / 0.9647 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/1.03, allocations: 0.9355 MB / 0.9656 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/1.036, allocations: 3.023 MB / 0.9685 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.316/1.352, allocations: 1.32 MB / 0.9698 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002072/1.355, allocations: 332.9 kB / 0.9701 GB, free: 281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/1.355, allocations: 118.1 kB / 0.9702 GB, free: 281 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/1.355, allocations: 0 / 0.9702 GB, free: 281 MB / 0.7169 GB Notification: Performance of Templates: time 0.05597/1.411, allocations: 34.35 MB / 1.004 GB, free: 268 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Examples.HeaterFan.pipe 2>&1) Environment - environmentSimulation: