Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.701/1.701, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001097/0.001097, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.078/2.078, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008488/0.0008484, allocations: 97.91 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.04e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7232, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.408/7.131, allocations: 2.358 GB / 3.332 GB, free: 82.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/7.131, allocations: 91.83 kB / 3.332 GB, free: 82.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.84/17.97, allocations: 2.817 GB / 6.149 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.053e-06/17.97, allocations: 0 / 6.149 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002275/17.97, allocations: 381.8 kB / 6.149 GB, free: 122.2 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03827/18.01, allocations: 12.03 MB / 6.161 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/18.01, allocations: 13.34 kB / 6.161 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02036/18.03, allocations: 3.026 MB / 6.164 GB, free: 117 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04695/18.08, allocations: 18.13 MB / 6.182 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008615/18.08, allocations: 352.7 kB / 6.182 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005344/18.08, allocations: 0.6465 MB / 6.183 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0298/18.11, allocations: 12.82 MB / 6.195 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03955/18.15, allocations: 14.41 MB / 6.209 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006288/18.15, allocations: 45.97 kB / 6.209 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003813/18.16, allocations: 22.03 kB / 6.209 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004565/18.16, allocations: 0.5631 MB / 6.21 GB, free: 113.7 MB / 0.9948 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.1046/18.26, allocations: 61.03 MB / 6.269 GB, free: 85.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/18.28, allocations: 9.234 MB / 6.278 GB, free: 81.38 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00801/18.29, allocations: 4.905 MB / 6.283 GB, free: 79.47 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002999/18.29, allocations: 2.384 MB / 6.285 GB, free: 76.98 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01187/18.3, allocations: 5.05 MB / 6.29 GB, free: 75.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 1.675e-05/18.3, allocations: 0 / 6.29 GB, free: 75.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.1328/18.43, allocations: 17.53 MB / 6.307 GB, free: 67.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/18.43, allocations: 360.2 kB / 6.308 GB, free: 66.89 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02311/18.46, allocations: 9.462 MB / 6.317 GB, free: 58.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002834/18.46, allocations: 39.39 kB / 6.317 GB, free: 58.69 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007779/18.47, allocations: 6.169 MB / 6.323 GB, free: 53.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004304/18.47, allocations: 2.365 MB / 6.325 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008758/18.47, allocations: 0 / 6.325 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005583/18.47, allocations: 0.6523 MB / 6.326 GB, free: 50.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00571/18.48, allocations: 3.972 MB / 6.33 GB, free: 46.84 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00796/18.49, allocations: 6.201 MB / 6.336 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3047/18.79, allocations: 28.64 MB / 6.364 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.112e-05/18.79, allocations: 20 kB / 6.364 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 1.148/19.94, allocations: 34.62 MB / 6.398 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00822/19.95, allocations: 35.49 MB / 6.432 GB, free: 83.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003702/19.95, allocations: 64.28 kB / 6.433 GB, free: 83.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/19.95, allocations: 201.1 kB / 6.433 GB, free: 83.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/19.96, allocations: 2.352 MB / 6.435 GB, free: 83.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/19.96, allocations: 1.607 MB / 6.437 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0187/19.98, allocations: 1.307 MB / 6.438 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004236/19.99, allocations: 429.8 kB / 6.438 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/19.99, allocations: 3.75 kB / 6.438 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3291/20.32, allocations: 33.6 MB / 6.471 GB, free: 81.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/20.32, allocations: 64.59 kB / 6.471 GB, free: 81.67 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/20.32, allocations: 199 kB / 6.471 GB, free: 81.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/20.33, allocations: 2.348 MB / 6.474 GB, free: 81.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/20.33, allocations: 1.615 MB / 6.475 GB, free: 80.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01706/20.35, allocations: 1.146 MB / 6.476 GB, free: 80.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003579/20.35, allocations: 425.5 kB / 6.477 GB, free: 80.34 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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.004634/20.36, allocations: 335.9 kB / 6.477 GB, free: 80.23 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1316/20.49, allocations: 17.52 MB / 6.494 GB, free: 78.92 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005463/20.5, allocations: 1.017 MB / 6.495 GB, free: 78.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.132/20.63, allocations: 19.03 MB / 6.514 GB, free: 77.34 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-05/20.63, allocations: 76.2 kB / 6.514 GB, free: 77.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/20.63, allocations: 1.75 kB / 6.514 GB, free: 77.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.123/20.75, allocations: 16.96 MB / 6.53 GB, free: 76.22 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1569/20.91, allocations: 32.48 MB / 6.562 GB, free: 73.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/20.91, allocations: 11.16 kB / 6.562 GB, free: 73.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009659/20.92, allocations: 1.714 MB / 6.564 GB, free: 73.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006309/20.92, allocations: 117.5 kB / 6.564 GB, free: 73.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001603/20.92, allocations: 159.7 kB / 6.564 GB, free: 73.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/20.92, allocations: 1.536 MB / 6.566 GB, free: 72.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/20.92, allocations: 15.53 kB / 6.566 GB, free: 72.71 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1289/21.05, allocations: 26.39 MB / 6.591 GB, free: 67.37 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01031/21.06, allocations: 2.942 MB / 6.594 GB, free: 66.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005502/21.07, allocations: 52.94 kB / 6.594 GB, free: 66.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01445/21.08, allocations: 0.6949 MB / 6.595 GB, free: 66.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/21.08, allocations: 457.6 kB / 6.595 GB, free: 66.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001716/21.08, allocations: 383 kB / 6.596 GB, free: 66.63 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01413/21.1, allocations: 7.24 MB / 6.603 GB, free: 66.34 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.11e-07/21.1, allocations: 0 / 6.603 GB, free: 66.34 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03174/21.13, allocations: 6.849 MB / 6.61 GB, free: 65.68 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.1402/21.27, allocations: 30.1 MB / 6.639 GB, free: 56.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.03357/21.3, allocations: 15.46 MB / 6.654 GB, free: 47.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.699e-05/21.3, allocations: 11.92 kB / 6.654 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009139/21.31, allocations: 4.438 MB / 6.658 GB, free: 45.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03437/21.35, allocations: 5.854 MB / 6.664 GB, free: 42.07 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06809/21.42, allocations: 28.33 MB / 6.692 GB, free: 21.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008262/21.42, allocations: 8.644 MB / 6.7 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0354/21.46, allocations: 9.802 MB / 6.71 GB, free: 9.352 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/21.47, allocations: 5.675 MB / 6.715 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of SimCode: time 1.022e-06/21.47, allocations: 0 / 6.715 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.205/22.68, allocations: 325.3 MB / 7.033 GB, free: 53.25 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/22.68, allocations: 181.9 kB / 7.033 GB, free: 53.06 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/38.65, allocations: 0 / 7.033 GB, free: 53.06 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)