Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") [/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.1809/0.1817, allocations: 82.22 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.04227/0.224, allocations: 37.91 MB / 0.6304 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6018/0.8259, allocations: 137.4 MB / 0.7646 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.829, allocations: 42.44 kB / 0.7646 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.8309, allocations: 482.7 kB / 0.7651 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.8414, allocations: 2.98 MB / 0.768 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.8515, allocations: 2.581 MB / 0.7705 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.8653, allocations: 8.122 MB / 0.7784 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007664/0.873, allocations: 4.548 MB / 0.7829 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.8859, allocations: 5.604 MB / 0.7883 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.8934, allocations: 2.368 MB / 0.7906 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.8947, allocations: 180 kB / 0.7908 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009158/0.9038, allocations: 2.516 MB / 0.7933 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.9055, allocations: 0.9611 MB / 0.7942 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/0.9084, allocations: 1.042 MB / 0.7952 GB, free: 224 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.9198, allocations: 7.412 MB / 0.8025 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9199, allocations: 0 / 0.8025 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9199, allocations: 0 / 0.8025 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003038/0.9202, allocations: 0 / 0.8025 GB, free: 8.797 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1020 * Number of variables: 1020 Notification: Performance of Generate backend data structure: time 0.01348/0.9337, allocations: 5.069 MB / 0.8074 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.9338, allocations: 8.031 kB / 0.8074 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.9474, allocations: 1.865 MB / 0.8092 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.9587, allocations: 4.099 MB / 0.8132 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.9591, allocations: 304 kB / 0.8135 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/0.9609, allocations: 401.7 kB / 0.8139 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.9745, allocations: 5.797 MB / 0.8196 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.9746, allocations: 7.938 kB / 0.8196 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.9751, allocations: 175.9 kB / 0.8198 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.925e-05/0.9752, allocations: 104 kB / 0.8199 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/0.9881, allocations: 5.591 MB / 0.8253 GB, free: 1.086 MB / 0.5762 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.04406/1.032, allocations: 21.93 MB / 0.8467 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.042, allocations: 3.814 MB / 0.8505 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/1.044, allocations: 1.362 MB / 0.8518 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006518/1.051, allocations: 2.184 MB / 0.8539 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=271): time 1.063e-05/1.051, allocations: 0 / 0.8539 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=271): time 0.02046/1.071, allocations: 6.798 MB / 0.8606 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002199/1.072, allocations: 316.9 kB / 0.8609 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.082, allocations: 3.528 MB / 0.8643 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/1.083, allocations: 81.7 kB / 0.8644 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002651/1.086, allocations: 1.983 MB / 0.8663 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001958/1.088, allocations: 0.9241 MB / 0.8672 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/1.088, allocations: 68 kB / 0.8673 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000406/1.089, allocations: 432.6 kB / 0.8677 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/1.094, allocations: 1.736 MB / 0.8694 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/1.099, allocations: 2.414 MB / 0.8717 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00555/1.105, allocations: 2.074 MB / 0.8738 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/1.105, allocations: 4 kB / 0.8738 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01539/1.12, allocations: 5.128 MB / 0.8788 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.00317/1.123, allocations: 7.281 MB / 0.8859 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.704e-05/1.123, allocations: 16 kB / 0.8859 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/1.126, allocations: 0.5558 MB / 0.8865 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/1.131, allocations: 0.9048 MB / 0.8873 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009399/1.141, allocations: 6.383 MB / 0.8936 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/1.147, allocations: 0.5117 MB / 0.8941 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.148, allocations: 171.9 kB / 0.8942 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.148, allocations: 4 kB / 0.8942 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01409/1.162, allocations: 4.779 MB / 0.8989 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/1.162, allocations: 16 kB / 0.8989 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/1.165, allocations: 0.5833 MB / 0.8995 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/1.169, allocations: 0.8307 MB / 0.9003 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007355/1.177, allocations: 5.018 MB / 0.9052 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005715/1.183, allocations: 480.7 kB / 0.9057 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.184, allocations: 163.9 kB / 0.9058 GB, free: 11.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (387): * Single equations (assignments): 384 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 17,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.004424/1.188, allocations: 1.521 MB / 0.9073 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/1.19, allocations: 395.2 kB / 0.9077 GB, free: 9.348 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.205, allocations: 4.894 MB / 0.9125 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/1.205, allocations: 28 kB / 0.9125 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.205, allocations: 4 kB / 0.9125 GB, free: 4.348 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01054/1.216, allocations: 3.987 MB / 0.9164 GB, free: 252 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.239, allocations: 9.236 MB / 0.9254 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.239, allocations: 0 / 0.9254 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/1.243, allocations: 0.6866 MB / 0.9261 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/1.246, allocations: 0.6559 MB / 0.9267 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/1.246, allocations: 91.91 kB / 0.9268 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006606/1.253, allocations: 8.255 MB / 0.9349 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.253, allocations: 0 / 0.9349 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.27, allocations: 6.713 MB / 0.9414 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003469/1.273, allocations: 1.046 MB / 0.9424 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/1.275, allocations: 59.98 kB / 0.9425 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004543/1.279, allocations: 287.5 kB / 0.9428 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/1.28, allocations: 174 kB / 0.9429 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004673/1.28, allocations: 135.9 kB / 0.9431 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005305/1.286, allocations: 2.457 MB / 0.9455 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.286, allocations: 0 / 0.9455 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01116/1.297, allocations: 2.587 MB / 0.948 GB, free: 15.05 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 2,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004256/1.301, allocations: 1.09 MB / 0.9491 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01913/1.32, allocations: 7.191 MB / 0.9561 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.32, allocations: 0.6562 kB / 0.9561 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/1.327, allocations: 2.236 MB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/1.337, allocations: 1.854 MB / 0.9601 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3736/1.711, allocations: 11.35 MB / 0.9712 GB, free: 263.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/1.714, allocations: 3.136 MB / 0.9742 GB, free: 262.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.009363/1.723, allocations: 2.227 MB / 0.9764 GB, free: 262.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.725, allocations: 423 kB / 0.9768 GB, free: 262.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/1.725, allocations: 0 / 0.9768 GB, free: 262.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.1268/1.852, allocations: 87.61 MB / 1.062 GB, free: 194.7 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) Environment - environmentSimulation: