Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [/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.1444/0.145, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.0178/0.1629, allocations: 17.28 MB / 0.6102 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007102/0.17, allocations: 3.763 MB / 0.6139 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/0.171, allocations: 19.81 kB / 0.6139 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.172, allocations: 294.6 kB / 0.6142 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1741, allocations: 0.6777 MB / 0.6149 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.1763, allocations: 0.7004 MB / 0.6156 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.1782, allocations: 1.028 MB / 0.6166 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007115/0.1789, allocations: 419.2 kB / 0.617 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.18, allocations: 0.5762 MB / 0.6175 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.1805, allocations: 346.5 kB / 0.6179 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.1806, allocations: 24 kB / 0.6179 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.1819, allocations: 0.6943 MB / 0.6186 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.182, allocations: 127.5 kB / 0.6187 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1822, allocations: 153.3 kB / 0.6188 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.1831, allocations: 0.7794 MB / 0.6196 GB, free: 11.08 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1831, allocations: 0 / 0.6196 GB, free: 11.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1831, allocations: 4 kB / 0.6196 GB, free: 11.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1832, allocations: 0 / 0.6196 GB, free: 11.08 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001368/0.1845, allocations: 0.9199 MB / 0.6205 GB, free: 10.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1846, allocations: 8.031 kB / 0.6205 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/0.1855, allocations: 211 kB / 0.6207 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.1862, allocations: 488.5 kB / 0.6212 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.1866, allocations: 100.9 kB / 0.6213 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.1867, allocations: 48 kB / 0.6213 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.1885, allocations: 0.783 MB / 0.6221 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1886, allocations: 7.938 kB / 0.6221 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.1886, allocations: 16 kB / 0.6221 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.1887, allocations: 20 kB / 0.6221 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.1905, allocations: 0.64 MB / 0.6227 GB, free: 7.703 MB / 478.1 MB 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.003079/0.1936, allocations: 3.202 MB / 0.6259 GB, free: 4.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.1955, allocations: 0.5535 MB / 0.6264 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1955, allocations: 4.234 kB / 0.6264 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.1969, allocations: 0.4987 MB / 0.6269 GB, free: 3.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.197, allocations: 0 / 0.6269 GB, free: 3.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.003273/0.2002, allocations: 1.107 MB / 0.628 GB, free: 2.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.2003, allocations: 191.9 kB / 0.6282 GB, free: 1.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.2009, allocations: 0.5146 MB / 0.6287 GB, free: 1.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.201, allocations: 33.7 kB / 0.6287 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.2012, allocations: 319.9 kB / 0.629 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.2014, allocations: 114.4 kB / 0.6291 GB, free: 0.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.2014, allocations: 8 kB / 0.6291 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2015, allocations: 366.8 kB / 0.6295 GB, free: 428 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.2022, allocations: 256.6 kB / 0.6297 GB, free: 172 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.203, allocations: 429.5 kB / 0.6301 GB, free: 15.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.2038, allocations: 310.1 kB / 0.6304 GB, free: 15.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2038, allocations: 11.94 kB / 0.6304 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001677/0.2055, allocations: 0.7593 MB / 0.6312 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000492/0.206, allocations: 1.341 MB / 0.6325 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.206, allocations: 4 kB / 0.6325 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.2061, allocations: 8 kB / 0.6325 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.2069, allocations: 163.8 kB / 0.6326 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003651/0.2073, allocations: 0.6132 MB / 0.6332 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.2081, allocations: 127.5 kB / 0.6334 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.2081, allocations: 23.98 kB / 0.6334 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.2081, allocations: 4 kB / 0.6334 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/0.2093, allocations: 0.579 MB / 0.634 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2093, allocations: 0 / 0.634 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.2093, allocations: 11.94 kB / 0.634 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.2098, allocations: 136.2 kB / 0.6341 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002983/0.2102, allocations: 0.6055 MB / 0.6347 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.2108, allocations: 103.6 kB / 0.6348 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2108, allocations: 19.98 kB / 0.6348 GB, free: 10.69 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: dyn.m:VARIABLE(min = max(0.0, 0.0) unit = "kg" fixed = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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.000426/0.2113, allocations: 323 kB / 0.6351 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.2114, allocations: 59.25 kB / 0.6352 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.2131, allocations: 0.743 MB / 0.6359 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2131, allocations: 7.953 kB / 0.6359 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2131, allocations: 0 / 0.6359 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/0.2147, allocations: 0.9042 MB / 0.6368 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.2171, allocations: 1.326 MB / 0.6381 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.2171, allocations: 4 kB / 0.6381 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.2177, allocations: 120 kB / 0.6382 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.2178, allocations: 28.84 kB / 0.6382 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.2179, allocations: 23.92 kB / 0.6382 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002943/0.2182, allocations: 0.5446 MB / 0.6388 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2182, allocations: 0 / 0.6388 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.2206, allocations: 1.181 MB / 0.6399 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.2209, allocations: 180.3 kB / 0.6401 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.221, allocations: 15.89 kB / 0.6401 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.2216, allocations: 91.88 kB / 0.6402 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.2217, allocations: 23.97 kB / 0.6402 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.2217, allocations: 19.98 kB / 0.6402 GB, free: 4.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004045/0.2221, allocations: 366.8 kB / 0.6406 GB, free: 4.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2221, allocations: 0 / 0.6406 GB, free: 4.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001027/0.2232, allocations: 339.5 kB / 0.6409 GB, free: 4.156 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (dyn.U,dyn.m) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005675/0.2238, allocations: 244.8 kB / 0.6412 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.2264, allocations: 1.072 MB / 0.6422 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2264, allocations: 0 / 0.6422 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.2273, allocations: 383.8 kB / 0.6426 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.2286, allocations: 271.8 kB / 0.6428 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2311, allocations: 1.51 MB / 0.6443 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.2315, allocations: 0.9021 MB / 0.6452 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006091/0.2322, allocations: 147.6 kB / 0.6453 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2323, allocations: 55.41 kB / 0.6454 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2323, allocations: 4 kB / 0.6454 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.01998/0.2523, allocations: 11.53 MB / 0.6566 GB, free: 4.102 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: