Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.481/2.481, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001703/0.001703, allocations: 184.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.2 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 92.38 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.999e-05, allocations: 4 kB / 0.8508 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8265, allocations: 115.3 MB / 0.9634 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.079/6.906, allocations: 2.109 GB / 3.072 GB, free: 10.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/6.906, allocations: 92.52 kB / 3.072 GB, free: 10.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.946/14.85, allocations: 1.401 GB / 4.473 GB, free: 97.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/14.85, allocations: 0 / 4.473 GB, free: 97.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008517/14.85, allocations: 127.9 kB / 4.473 GB, free: 97.17 MB / 0.948 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.02165/14.87, allocations: 5.522 MB / 4.479 GB, free: 91.58 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/14.87, allocations: 12.03 kB / 4.479 GB, free: 91.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/14.89, allocations: 1.601 MB / 4.48 GB, free: 89.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/14.91, allocations: 5.227 MB / 4.485 GB, free: 84.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/14.91, allocations: 120 kB / 4.486 GB, free: 84.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/14.92, allocations: 223.8 kB / 4.486 GB, free: 84.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01388/14.93, allocations: 4.434 MB / 4.49 GB, free: 79.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/14.95, allocations: 4.591 MB / 4.495 GB, free: 75.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/14.95, allocations: 7.938 kB / 4.495 GB, free: 75.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/14.95, allocations: 11.98 kB / 4.495 GB, free: 75.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/14.95, allocations: 159.2 kB / 4.495 GB, free: 74.96 MB / 0.948 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.04978/15, allocations: 18.49 MB / 4.513 GB, free: 56.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008148/15.01, allocations: 3.279 MB / 4.516 GB, free: 52.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/15.01, allocations: 1.626 MB / 4.518 GB, free: 51.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003273/15.01, allocations: 2.533 MB / 4.52 GB, free: 48.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005511/15.02, allocations: 1.823 MB / 4.522 GB, free: 46.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.554e-06/15.02, allocations: 4 kB / 4.522 GB, free: 46.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.1324/15.15, allocations: 8.047 MB / 4.53 GB, free: 38.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/15.15, allocations: 287.3 kB / 4.53 GB, free: 37.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006958/15.16, allocations: 2.859 MB / 4.533 GB, free: 34.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009417/15.16, allocations: 29.7 kB / 4.533 GB, free: 34.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002618/15.16, allocations: 1.939 MB / 4.535 GB, free: 32.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/15.16, allocations: 0.9353 MB / 4.536 GB, free: 31.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/15.17, allocations: 0 / 4.536 GB, free: 31.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002602/15.17, allocations: 424.1 kB / 4.536 GB, free: 31.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/15.17, allocations: 1.333 MB / 4.537 GB, free: 30.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/15.17, allocations: 1.969 MB / 4.539 GB, free: 27.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3439/15.52, allocations: 13.34 MB / 4.552 GB, free: 14.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.625e-05/15.52, allocations: 4 kB / 4.552 GB, free: 14.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 1.099/16.62, allocations: 15.45 MB / 4.567 GB, free: 146.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001568/16.62, allocations: 6.449 MB / 4.574 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.343e-05/16.62, allocations: 14.5 kB / 4.574 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/16.62, allocations: 108.3 kB / 4.574 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008659/16.63, allocations: 0.7969 MB / 4.575 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/16.63, allocations: 2.097 MB / 4.577 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008899/16.64, allocations: 446.6 kB / 4.577 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/16.64, allocations: 154.9 kB / 4.577 GB, free: 137.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/16.64, allocations: 4 kB / 4.577 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3551/17, allocations: 15.1 MB / 4.592 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/17, allocations: 16.78 kB / 4.592 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/17, allocations: 107.2 kB / 4.592 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007862/17.01, allocations: 0.7888 MB / 4.593 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/17.01, allocations: 1.498 MB / 4.594 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008458/17.02, allocations: 409.9 kB / 4.595 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/17.02, allocations: 155.4 kB / 4.595 GB, free: 136.4 MB / 0.948 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.00145/17.02, allocations: 175.1 kB / 4.595 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1333/17.15, allocations: 8.071 MB / 4.603 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/17.16, allocations: 358.3 kB / 4.603 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1376/17.29, allocations: 8.959 MB / 4.612 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/17.29, allocations: 27.78 kB / 4.612 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/17.29, allocations: 2.656 kB / 4.612 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1346/17.43, allocations: 7.982 MB / 4.62 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1516/17.58, allocations: 13.34 MB / 4.633 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/17.58, allocations: 7.328 kB / 4.633 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007067/17.59, allocations: 0.6141 MB / 4.633 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/17.59, allocations: 454 kB / 4.634 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008496/17.59, allocations: 67.78 kB / 4.634 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00777/17.6, allocations: 7.504 MB / 4.641 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/17.6, allocations: 3.312 kB / 4.641 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1409/17.74, allocations: 10.43 MB / 4.651 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004774/17.74, allocations: 1.106 MB / 4.653 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/17.75, allocations: 15.75 kB / 4.653 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00811/17.75, allocations: 264.6 kB / 4.653 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/17.75, allocations: 184.3 kB / 4.653 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006565/17.76, allocations: 136.2 kB / 4.653 GB, free: 127.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006112/17.76, allocations: 2.195 MB / 4.655 GB, free: 126.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.122e-06/17.76, allocations: 0 / 4.655 GB, free: 126.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01514/17.78, allocations: 2.754 MB / 4.658 GB, free: 126.7 MB / 0.948 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.1434/17.92, allocations: 12.61 MB / 4.67 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01718/17.94, allocations: 5.535 MB / 4.676 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/17.94, allocations: 3.5 kB / 4.676 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006242/17.94, allocations: 1.885 MB / 4.678 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01447/17.96, allocations: 1.692 MB / 4.679 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/17.99, allocations: 9.1 MB / 4.688 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/17.99, allocations: 3.152 MB / 4.691 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01951/18.01, allocations: 3.337 MB / 4.694 GB, free: 121.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005936/18.02, allocations: 1.846 MB / 4.696 GB, free: 121.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/18.02, allocations: 0 / 4.696 GB, free: 121.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/18.31, allocations: 120.6 MB / 4.814 GB, free: 76.52 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/18.31, allocations: 174.8 kB / 4.814 GB, free: 76.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/26.39, allocations: 2.078 kB / 4.814 GB, free: 76.32 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)