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.1907/0.1915, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Examples.HeaterFan): time 0.7517/0.9433, allocations: 306 MB / 0.893 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04272/0.986, allocations: 29.86 MB / 0.9221 GB, free: 1.883 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.9901, allocations: 67.62 kB / 0.9222 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004809/0.995, allocations: 1.24 MB / 0.9234 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009322/1.004, allocations: 2.798 MB / 0.9261 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007276/1.012, allocations: 2.35 MB / 0.9284 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009111/1.021, allocations: 5.714 MB / 0.934 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/1.024, allocations: 1.516 MB / 0.9355 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/1.029, allocations: 1.657 MB / 0.9371 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/1.033, allocations: 1.359 MB / 0.9385 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005958/1.034, allocations: 68 kB / 0.9385 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007686/1.041, allocations: 3.359 MB / 0.9418 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.042, allocations: 482.1 kB / 0.9423 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002677/1.045, allocations: 0.9539 MB / 0.9432 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009292/1.054, allocations: 4.518 MB / 0.9476 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.054, allocations: 0 / 0.9476 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.127e-06/1.055, allocations: 0 / 0.9476 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000125/1.055, allocations: 3.938 kB / 0.9476 GB, free: 7.688 MB / 0.7012 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.005276/1.06, allocations: 2.1 MB / 0.9497 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.06, allocations: 15.97 kB / 0.9497 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/1.065, allocations: 0.8132 MB / 0.9505 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/1.069, allocations: 1.908 MB / 0.9523 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007302/1.07, allocations: 230.4 kB / 0.9525 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/1.07, allocations: 128 kB / 0.9527 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/1.075, allocations: 1.664 MB / 0.9543 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/1.075, allocations: 4 kB / 0.9543 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/1.075, allocations: 48 kB / 0.9543 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/1.075, allocations: 54.44 kB / 0.9544 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004253/1.079, allocations: 1.532 MB / 0.9559 GB, free: 15 MB / 0.7169 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.01104/1.09, allocations: 7.248 MB / 0.963 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/1.093, allocations: 0.737 MB / 0.9637 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/1.094, allocations: 304.6 kB / 0.964 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/1.094, allocations: 190.2 kB / 0.9642 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.094, allocations: 38.56 kB / 0.9642 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007991/1.095, allocations: 94.73 kB / 0.9643 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 5.01e-06/1.095, allocations: 0 / 0.9643 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.003818/1.099, allocations: 1.403 MB / 0.9657 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.099, allocations: 55.41 kB / 0.9657 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/1.102, allocations: 1.808 MB / 0.9675 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/1.102, allocations: 33.7 kB / 0.9675 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000743/1.103, allocations: 0.7957 MB / 0.9683 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/1.103, allocations: 130.1 kB / 0.9684 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/1.103, allocations: 57.69 kB / 0.9685 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.103, allocations: 334 kB / 0.9688 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/1.105, allocations: 488.9 kB / 0.9692 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4073/1.512, allocations: 0.6763 MB / 0.9699 GB, free: 285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/1.515, allocations: 0.9477 MB / 0.9708 GB, free: 284.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.515, allocations: 2.25 kB / 0.9708 GB, free: 284.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004363/1.519, allocations: 1.568 MB / 0.9724 GB, free: 284.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.52, allocations: 279.4 kB / 0.9726 GB, free: 284.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.52, allocations: 3.531 kB / 0.9726 GB, free: 284.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/1.52, allocations: 58.44 kB / 0.9727 GB, free: 284.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.521, allocations: 206.1 kB / 0.9729 GB, free: 284.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/1.522, allocations: 2.813 MB / 0.9756 GB, free: 281.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.525, allocations: 296.4 kB / 0.9759 GB, free: 281.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/1.525, allocations: 40.47 kB / 0.976 GB, free: 281.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.525, allocations: 5.75 kB / 0.976 GB, free: 281.5 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002898/1.528, allocations: 1.438 MB / 0.9774 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.528, allocations: 4.5 kB / 0.9774 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/1.528, allocations: 69.62 kB / 0.9774 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/1.529, allocations: 185.8 kB / 0.9776 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/1.53, allocations: 2.812 MB / 0.9804 GB, free: 278.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.532, allocations: 218.2 kB / 0.9806 GB, free: 278.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/1.532, allocations: 36.8 kB / 0.9806 GB, free: 278.6 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.533, allocations: 0.5002 MB / 0.9811 GB, free: 278.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.533, allocations: 160.6 kB / 0.9812 GB, free: 278.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/1.535, allocations: 0.9596 MB / 0.9822 GB, free: 278.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.535, allocations: 6.812 kB / 0.9822 GB, free: 278.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.535, allocations: 0 / 0.9822 GB, free: 278.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.535, allocations: 7.312 kB / 0.9822 GB, free: 278.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/1.539, allocations: 2.198 MB / 0.9843 GB, free: 277.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.539, allocations: 2.625 kB / 0.9843 GB, free: 277.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/1.54, allocations: 107.2 kB / 0.9845 GB, free: 277.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/1.54, allocations: 58.05 kB / 0.9845 GB, free: 277.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/1.54, allocations: 17.97 kB / 0.9845 GB, free: 277.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/1.542, allocations: 2.813 MB / 0.9873 GB, free: 274.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.542, allocations: 3.5 kB / 0.9873 GB, free: 274.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/1.544, allocations: 1.031 MB / 0.9883 GB, free: 274.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/1.545, allocations: 310.2 kB / 0.9886 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.545, allocations: 12.56 kB / 0.9886 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.546, allocations: 141.5 kB / 0.9887 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/1.546, allocations: 27.92 kB / 0.9887 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/1.546, allocations: 16.34 kB / 0.9888 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002381/1.548, allocations: 1.288 MB / 0.99 GB, free: 274 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.11e-07/1.548, allocations: 0 / 0.99 GB, free: 274 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002556/1.551, allocations: 0.7723 MB / 0.9908 GB, free: 273.9 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009297/1.552, allocations: 341.2 kB / 0.9911 GB, free: 273.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005584/1.558, allocations: 2.527 MB / 0.9936 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.558, allocations: 4.906 kB / 0.9936 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.559, allocations: 0.5174 MB / 0.9941 GB, free: 272.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/1.564, allocations: 0.9325 MB / 0.995 GB, free: 271.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/1.57, allocations: 3.156 MB / 0.9981 GB, free: 270 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.571, allocations: 1.324 MB / 0.9994 GB, free: 269.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002073/1.573, allocations: 343.4 kB / 0.9997 GB, free: 269.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/1.573, allocations: 125 kB / 0.9998 GB, free: 269.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.263e-06/1.573, allocations: 0 / 0.9998 GB, free: 269.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.05468/1.628, allocations: 35.42 MB / 1.034 GB, free: 241.6 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: