Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001598/0.001598, allocations: 184.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.2 MB / 0.626 GB, free: 7.203 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.0009912/0.0009914, allocations: 92.5 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.355e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7415, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.315/7.056, allocations: 2.358 GB / 3.331 GB, free: 132.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/7.056, allocations: 91.95 kB / 3.331 GB, free: 132.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.832/10.89, allocations: 0.9212 GB / 4.253 GB, free: 171.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.458e-06/10.89, allocations: 0 / 4.253 GB, free: 171.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009846/10.89, allocations: 127.1 kB / 4.253 GB, free: 171.7 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01578/10.91, allocations: 4.266 MB / 4.257 GB, free: 170.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/10.91, allocations: 11.84 kB / 4.257 GB, free: 170.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009619/10.92, allocations: 1.251 MB / 4.258 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/10.93, allocations: 5.379 MB / 4.263 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/10.93, allocations: 122.5 kB / 4.263 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/10.94, allocations: 215 kB / 4.264 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01091/10.95, allocations: 4.359 MB / 4.268 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/10.96, allocations: 4.503 MB / 4.272 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/10.96, allocations: 16.75 kB / 4.272 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006036/10.96, allocations: 15.78 kB / 4.272 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/10.96, allocations: 170.7 kB / 4.272 GB, free: 168.8 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.03638/11, allocations: 18.62 MB / 4.291 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/11, allocations: 3.067 MB / 4.294 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/11, allocations: 1.593 MB / 4.295 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00211/11.01, allocations: 1.86 MB / 4.297 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002953/11.01, allocations: 1.763 MB / 4.299 GB, free: 160.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 4.448e-06/11.01, allocations: 3.781 kB / 4.299 GB, free: 160.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.05866/11.07, allocations: 7.312 MB / 4.306 GB, free: 160.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/11.07, allocations: 288.5 kB / 4.306 GB, free: 159.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004751/11.07, allocations: 2.985 MB / 4.309 GB, free: 159.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005549/11.07, allocations: 29.88 kB / 4.309 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/11.08, allocations: 1.978 MB / 4.311 GB, free: 158.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/11.08, allocations: 0.8684 MB / 4.312 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/11.08, allocations: 0 / 4.312 GB, free: 158.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001588/11.08, allocations: 420.8 kB / 4.312 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/11.08, allocations: 1.29 MB / 4.314 GB, free: 157.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/11.08, allocations: 1.962 MB / 4.315 GB, free: 157.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1507/11.23, allocations: 13.17 MB / 4.328 GB, free: 156.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.923e-05/11.23, allocations: 5.562 kB / 4.328 GB, free: 156.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1542/11.39, allocations: 15.23 MB / 4.343 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001519/11.39, allocations: 7.289 MB / 4.35 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/11.39, allocations: 16.94 kB / 4.35 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/11.39, allocations: 113.2 kB / 4.35 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/11.39, allocations: 0.8024 MB / 4.351 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/11.39, allocations: 1.509 MB / 4.353 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005258/11.4, allocations: 450.1 kB / 4.353 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005238/11.4, allocations: 149.4 kB / 4.353 GB, free: 146.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/11.4, allocations: 4.969 kB / 4.353 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1508/11.55, allocations: 14.84 MB / 4.368 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/11.55, allocations: 20.56 kB / 4.368 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/11.55, allocations: 113.9 kB / 4.368 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003779/11.55, allocations: 0.8038 MB / 4.369 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/11.56, allocations: 1.504 MB / 4.37 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005043/11.56, allocations: 403.7 kB / 4.371 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005994/11.56, allocations: 144.1 kB / 4.371 GB, free: 144.5 MB / 0.948 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.0009765/11.56, allocations: 188.8 kB / 4.371 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0578/11.62, allocations: 7.304 MB / 4.378 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/11.62, allocations: 354.4 kB / 4.378 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05969/11.68, allocations: 8.037 MB / 4.386 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/11.68, allocations: 32.34 kB / 4.386 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/11.68, allocations: 3.656 kB / 4.386 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05537/11.74, allocations: 7.254 MB / 4.393 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06644/11.8, allocations: 12.53 MB / 4.406 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/11.8, allocations: 3.062 kB / 4.406 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/11.81, allocations: 0.6309 MB / 4.406 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/11.81, allocations: 97.64 kB / 4.406 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/11.81, allocations: 66.45 kB / 4.406 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/11.81, allocations: 1.502 MB / 4.408 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/11.81, allocations: 7.25 kB / 4.408 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06138/11.87, allocations: 9.92 MB / 4.417 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/11.87, allocations: 1.061 MB / 4.419 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/11.87, allocations: 14.48 kB / 4.419 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00411/11.88, allocations: 257.5 kB / 4.419 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/11.88, allocations: 182 kB / 4.419 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/11.88, allocations: 139.1 kB / 4.419 GB, free: 127.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003616/11.88, allocations: 2.299 MB / 4.421 GB, free: 125.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/11.88, allocations: 1.406 kB / 4.421 GB, free: 125.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009754/11.89, allocations: 2.338 MB / 4.424 GB, free: 123.5 MB / 0.948 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.06472/11.96, allocations: 12.93 MB / 4.436 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008822/11.97, allocations: 5.324 MB / 4.441 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/11.97, allocations: 0.7812 kB / 4.441 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/11.97, allocations: 1.676 MB / 4.443 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/11.98, allocations: 1.734 MB / 4.445 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/12, allocations: 8.863 MB / 4.453 GB, free: 95.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/12, allocations: 3.119 MB / 4.456 GB, free: 92.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01001/12.01, allocations: 2.747 MB / 4.459 GB, free: 89.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00346/12.02, allocations: 1.803 MB / 4.461 GB, free: 87.69 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/12.02, allocations: 0 / 4.461 GB, free: 87.69 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8238/12.84, allocations: 115.6 MB / 4.574 GB, free: 164.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/12.84, allocations: 181.9 kB / 4.574 GB, free: 164 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.056/18.9, allocations: 0 / 4.574 GB, free: 164 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)