Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.605/1.605, allocations: 249.3 MB / 261.8 MB, free: 5.992 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.001241/0.00124, allocations: 180.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001297/0.001297, allocations: 93.22 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.3e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.23, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.298/7.528, allocations: 2.474 GB / 3.366 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/7.528, allocations: 92.81 kB / 3.366 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.759/11.29, allocations: 0.9049 GB / 4.271 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.265e-06/11.29, allocations: 0 / 4.271 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001151/11.29, allocations: 133.9 kB / 4.271 GB, free: 129.6 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01777/11.31, allocations: 4.269 MB / 4.276 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/11.31, allocations: 10.56 kB / 4.276 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003614/11.31, allocations: 0.5101 MB / 4.276 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/11.32, allocations: 1.25 MB / 4.277 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01787/11.34, allocations: 5.36 MB / 4.283 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/11.34, allocations: 282.7 kB / 4.283 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/11.34, allocations: 369.2 kB / 4.283 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/11.36, allocations: 4.982 MB / 4.288 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/11.36, allocations: 14.78 kB / 4.288 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/11.36, allocations: 156.7 kB / 4.288 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/11.36, allocations: 182 kB / 4.288 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/11.37, allocations: 4.633 MB / 4.293 GB, free: 126.6 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.04617/11.42, allocations: 19.26 MB / 4.312 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/11.43, allocations: 3.227 MB / 4.315 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/11.43, allocations: 1.664 MB / 4.317 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002258/11.43, allocations: 1.865 MB / 4.318 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003993/11.44, allocations: 1.817 MB / 4.32 GB, free: 118 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 8.276e-06/11.44, allocations: 0 / 4.32 GB, free: 118 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.008734/11.45, allocations: 3.119 MB / 4.323 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/11.45, allocations: 288 kB / 4.323 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008475/11.45, allocations: 3.439 MB / 4.327 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009072/11.46, allocations: 78.8 kB / 4.327 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/11.46, allocations: 1.978 MB / 4.329 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/11.46, allocations: 0.9037 MB / 4.33 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006914/11.46, allocations: 55.94 kB / 4.33 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000361/11.46, allocations: 431.2 kB / 4.33 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/11.46, allocations: 1.344 MB / 4.331 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/11.47, allocations: 2.042 MB / 4.333 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/11.47, allocations: 1.696 MB / 4.335 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-05/11.47, allocations: 3.469 kB / 4.335 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009948/11.48, allocations: 3.967 MB / 4.339 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001806/11.48, allocations: 7.403 MB / 4.346 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-05/11.48, allocations: 22.83 kB / 4.346 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/11.48, allocations: 117.2 kB / 4.346 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/11.49, allocations: 0.8079 MB / 4.347 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/11.49, allocations: 1.557 MB / 4.349 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005732/11.5, allocations: 0.5313 MB / 4.349 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009233/11.5, allocations: 143.3 kB / 4.349 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/11.5, allocations: 4.5 kB / 4.349 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009233/11.51, allocations: 3.621 MB / 4.353 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-05/11.51, allocations: 18.28 kB / 4.353 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/11.51, allocations: 116.4 kB / 4.353 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/11.51, allocations: 0.8022 MB / 4.354 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/11.51, allocations: 1.571 MB / 4.355 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/11.52, allocations: 490.6 kB / 4.356 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/11.52, allocations: 146.1 kB / 4.356 GB, free: 103.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.002136/11.52, allocations: 289.3 kB / 4.356 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/11.52, allocations: 384.7 kB / 4.357 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/11.54, allocations: 3.931 MB / 4.36 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/11.54, allocations: 34.55 kB / 4.36 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/11.54, allocations: 0 / 4.36 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006039/11.54, allocations: 3.062 MB / 4.363 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/11.57, allocations: 8.827 MB / 4.372 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/11.57, allocations: 3.688 kB / 4.372 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004134/11.57, allocations: 0.6373 MB / 4.373 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/11.57, allocations: 90.67 kB / 4.373 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008084/11.57, allocations: 98.25 kB / 4.373 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/11.58, allocations: 1.57 MB / 4.374 GB, free: 99.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/11.58, allocations: 7.219 kB / 4.374 GB, free: 99.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/11.59, allocations: 5.824 MB / 4.38 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004299/11.59, allocations: 1.069 MB / 4.381 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/11.6, allocations: 71.16 kB / 4.381 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0051/11.6, allocations: 308.7 kB / 4.381 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/11.6, allocations: 182.4 kB / 4.382 GB, free: 95.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006037/11.6, allocations: 127.9 kB / 4.382 GB, free: 95.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006729/11.61, allocations: 2.706 MB / 4.384 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.41e-07/11.61, allocations: 0 / 4.384 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01371/11.62, allocations: 2.443 MB / 4.387 GB, free: 93.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01733/11.64, allocations: 8.799 MB / 4.395 GB, free: 89.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01174/11.65, allocations: 5.589 MB / 4.401 GB, free: 87.13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/11.65, allocations: 4.188 kB / 4.401 GB, free: 87.13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003986/11.66, allocations: 1.741 MB / 4.403 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/11.67, allocations: 2.026 MB / 4.405 GB, free: 86.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/11.7, allocations: 9.179 MB / 4.413 GB, free: 82.87 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/11.7, allocations: 3.127 MB / 4.417 GB, free: 81.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01347/11.71, allocations: 3.005 MB / 4.419 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004744/11.72, allocations: 1.807 MB / 4.421 GB, free: 79.95 MB / 0.8698 GB Notification: Performance of SimCode: time 2.204e-06/11.72, allocations: 0 / 4.421 GB, free: 79.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/12.05, allocations: 137.5 MB / 4.556 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/12.05, allocations: 245.9 kB / 4.556 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/18.74, allocations: 4 kB / 4.556 GB, free: 9.266 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)