Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 176.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 90.77 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.915e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 106.4 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.498/5.728, allocations: 2.228 GB / 3.114 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/5.728, allocations: 91.95 kB / 3.114 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.811/10.54, allocations: 1.4 GB / 4.514 GB, free: 88.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/10.54, allocations: 0 / 4.514 GB, free: 88.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007421/10.54, allocations: 129 kB / 4.514 GB, free: 88 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01759/10.56, allocations: 5.523 MB / 4.52 GB, free: 82.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/10.56, allocations: 12.03 kB / 4.52 GB, free: 82.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/10.57, allocations: 1.601 MB / 4.521 GB, free: 80.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/10.58, allocations: 5.225 MB / 4.526 GB, free: 75.63 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/10.58, allocations: 120 kB / 4.526 GB, free: 75.51 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/10.59, allocations: 216 kB / 4.527 GB, free: 75.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008966/10.6, allocations: 4.434 MB / 4.531 GB, free: 70.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008767/10.6, allocations: 4.595 MB / 4.535 GB, free: 66.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.217e-05/10.6, allocations: 7.938 kB / 4.535 GB, free: 66.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004921/10.61, allocations: 11.92 kB / 4.535 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/10.61, allocations: 159.3 kB / 4.536 GB, free: 65.93 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.02972/10.63, allocations: 18.49 MB / 4.554 GB, free: 47.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/10.64, allocations: 3.279 MB / 4.557 GB, free: 43.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/10.64, allocations: 1.614 MB / 4.558 GB, free: 42.35 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/10.64, allocations: 2.536 MB / 4.561 GB, free: 39.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002645/10.65, allocations: 1.825 MB / 4.563 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=284): time 4.959e-06/10.65, allocations: 0 / 4.563 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=284): time 0.05812/10.7, allocations: 8.052 MB / 4.571 GB, free: 29.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/10.7, allocations: 291.2 kB / 4.571 GB, free: 28.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/10.71, allocations: 2.858 MB / 4.574 GB, free: 26.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008431/10.71, allocations: 25.7 kB / 4.574 GB, free: 26.08 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/10.71, allocations: 1.947 MB / 4.576 GB, free: 24.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/10.71, allocations: 0.9392 MB / 4.576 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/10.71, allocations: 0 / 4.576 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001973/10.71, allocations: 424.1 kB / 4.577 GB, free: 22.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/10.72, allocations: 1.337 MB / 4.578 GB, free: 21.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/10.72, allocations: 1.959 MB / 4.58 GB, free: 19.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1483/10.87, allocations: 13.35 MB / 4.593 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-05/10.87, allocations: 4 kB / 4.593 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.1535/11.02, allocations: 15.45 MB / 4.608 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.503/11.52, allocations: 6.439 MB / 4.615 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.29e-05/11.52, allocations: 14.22 kB / 4.615 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/11.52, allocations: 111.2 kB / 4.615 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004842/11.53, allocations: 0.7976 MB / 4.615 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/11.53, allocations: 2.095 MB / 4.617 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/11.54, allocations: 447.1 kB / 4.618 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008834/11.54, allocations: 158.7 kB / 4.618 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/11.54, allocations: 4.469 kB / 4.618 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1596/11.7, allocations: 15.09 MB / 4.633 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/11.7, allocations: 15.31 kB / 4.633 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/11.7, allocations: 111.2 kB / 4.633 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/11.7, allocations: 0.7822 MB / 4.634 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/11.7, allocations: 1.503 MB / 4.635 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/11.71, allocations: 407.7 kB / 4.636 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009401/11.71, allocations: 153.8 kB / 4.636 GB, free: 127.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 376 * 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: 1 * 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: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001011/11.71, allocations: 181.4 kB / 4.636 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06357/11.77, allocations: 8.07 MB / 4.644 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/11.78, allocations: 360.6 kB / 4.644 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0614/11.84, allocations: 8.96 MB / 4.653 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/11.84, allocations: 26.22 kB / 4.653 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/11.84, allocations: 3.969 kB / 4.653 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05893/11.9, allocations: 7.976 MB / 4.661 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07056/11.97, allocations: 13.34 MB / 4.674 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/11.97, allocations: 3.094 kB / 4.674 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/11.97, allocations: 0.6215 MB / 4.674 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/11.97, allocations: 458.9 kB / 4.675 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/11.97, allocations: 68.7 kB / 4.675 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005851/11.98, allocations: 7.511 MB / 4.682 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/11.98, allocations: 0 / 4.682 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06355/12.04, allocations: 10.43 MB / 4.692 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/12.04, allocations: 1.104 MB / 4.693 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/12.05, allocations: 18.44 kB / 4.693 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004151/12.05, allocations: 261.1 kB / 4.694 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/12.05, allocations: 190 kB / 4.694 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003465/12.05, allocations: 130.7 kB / 4.694 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003487/12.05, allocations: 2.198 MB / 4.696 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/12.05, allocations: 4 kB / 4.696 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01165/12.07, allocations: 2.753 MB / 4.699 GB, free: 117.6 MB / 0.8855 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3,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.06409/12.13, allocations: 12.62 MB / 4.711 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009061/12.14, allocations: 5.53 MB / 4.717 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/12.14, allocations: 3.281 kB / 4.717 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/12.14, allocations: 1.879 MB / 4.718 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/12.15, allocations: 1.684 MB / 4.72 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/12.19, allocations: 9.104 MB / 4.729 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/12.19, allocations: 3.149 MB / 4.732 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01824/12.21, allocations: 3.338 MB / 4.735 GB, free: 112 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006587/12.21, allocations: 1.85 MB / 4.737 GB, free: 112 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/12.21, allocations: 0 / 4.737 GB, free: 112 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/12.39, allocations: 120.6 MB / 4.855 GB, free: 60.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/12.39, allocations: 187.3 kB / 4.855 GB, free: 60.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.761/18.15, allocations: 0 / 4.855 GB, free: 60.29 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)