Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001165/0.001165, allocations: 180.8 kB / 361.4 MB, free: 6.852 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.855/1.855, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.000941/0.000941, allocations: 101.1 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.192e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7813, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/6.042, allocations: 2.109 GB / 3.074 GB, free: 5.508 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/6.042, allocations: 94.27 kB / 3.074 GB, free: 5.461 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.663/11.71, allocations: 1.401 GB / 4.474 GB, free: 90.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.804e-06/11.71, allocations: 0 / 4.474 GB, free: 90.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008187/11.71, allocations: 131.8 kB / 4.475 GB, free: 90.8 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.02015/11.73, allocations: 5.517 MB / 4.48 GB, free: 85.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/11.73, allocations: 12.03 kB / 4.48 GB, free: 85.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/11.74, allocations: 1.601 MB / 4.482 GB, free: 83.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/11.75, allocations: 5.227 MB / 4.487 GB, free: 78.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/11.76, allocations: 124 kB / 4.487 GB, free: 78.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/11.76, allocations: 219.9 kB / 4.487 GB, free: 77.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01247/11.77, allocations: 4.434 MB / 4.491 GB, free: 73.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/11.79, allocations: 4.594 MB / 4.496 GB, free: 68.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.985e-05/11.79, allocations: 7.938 kB / 4.496 GB, free: 68.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009032/11.79, allocations: 4 kB / 4.496 GB, free: 68.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/11.79, allocations: 159.3 kB / 4.496 GB, free: 68.61 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.0342/11.82, allocations: 18.51 MB / 4.514 GB, free: 49.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/11.83, allocations: 3.264 MB / 4.517 GB, free: 46.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/11.83, allocations: 1.618 MB / 4.519 GB, free: 44.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/11.83, allocations: 2.541 MB / 4.521 GB, free: 41.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003194/11.83, allocations: 1.819 MB / 4.523 GB, free: 39.85 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 4.559e-06/11.83, allocations: 0 / 4.523 GB, free: 39.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.0633/11.9, allocations: 8.051 MB / 4.531 GB, free: 31.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/11.9, allocations: 287.3 kB / 4.531 GB, free: 31.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/11.9, allocations: 2.866 MB / 4.534 GB, free: 28.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009232/11.9, allocations: 25.7 kB / 4.534 GB, free: 28.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/11.91, allocations: 1.943 MB / 4.536 GB, free: 26.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/11.91, allocations: 0.9314 MB / 4.537 GB, free: 25.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/11.91, allocations: 0 / 4.537 GB, free: 25.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001883/11.91, allocations: 432.1 kB / 4.537 GB, free: 25.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/11.91, allocations: 1.33 MB / 4.539 GB, free: 23.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/11.91, allocations: 1.974 MB / 4.54 GB, free: 21.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.152/12.06, allocations: 13.35 MB / 4.554 GB, free: 8.211 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.903e-05/12.06, allocations: 4 kB / 4.554 GB, free: 8.207 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.8121/12.88, allocations: 15.45 MB / 4.569 GB, free: 147.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001492/12.88, allocations: 6.439 MB / 4.575 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/12.88, allocations: 17.91 kB / 4.575 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/12.88, allocations: 112.5 kB / 4.575 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/12.88, allocations: 0.7959 MB / 4.576 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/12.89, allocations: 2.092 MB / 4.578 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/12.89, allocations: 447.8 kB / 4.578 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008973/12.89, allocations: 153.9 kB / 4.578 GB, free: 139.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/12.89, allocations: 4.875 kB / 4.578 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1551/13.05, allocations: 15.09 MB / 4.593 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/13.05, allocations: 15.55 kB / 4.593 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/13.05, allocations: 107.1 kB / 4.593 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/13.05, allocations: 0.7908 MB / 4.594 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/13.05, allocations: 1.502 MB / 4.596 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/13.06, allocations: 410.9 kB / 4.596 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/13.06, allocations: 156.3 kB / 4.596 GB, free: 137.9 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.0009667/13.06, allocations: 181.8 kB / 4.596 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06162/13.12, allocations: 8.055 MB / 4.604 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/13.12, allocations: 359.8 kB / 4.604 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06544/13.19, allocations: 8.963 MB / 4.613 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/13.19, allocations: 30.94 kB / 4.613 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/13.19, allocations: 4.156 kB / 4.613 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06158/13.25, allocations: 7.979 MB / 4.621 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07696/13.33, allocations: 13.34 MB / 4.634 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/13.33, allocations: 1.688 kB / 4.634 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/13.33, allocations: 0.6205 MB / 4.635 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/13.33, allocations: 459.1 kB / 4.635 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006664/13.33, allocations: 66.97 kB / 4.635 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/13.34, allocations: 7.51 MB / 4.642 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/13.34, allocations: 2.125 kB / 4.642 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06775/13.41, allocations: 10.43 MB / 4.653 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003143/13.41, allocations: 1.102 MB / 4.654 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/13.41, allocations: 13.08 kB / 4.654 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00427/13.42, allocations: 270.1 kB / 4.654 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/13.42, allocations: 195.3 kB / 4.654 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003423/13.42, allocations: 136.3 kB / 4.654 GB, free: 128.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003832/13.42, allocations: 2.192 MB / 4.656 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.21e-07/13.42, allocations: 0 / 4.656 GB, free: 128.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01143/13.43, allocations: 2.746 MB / 4.659 GB, free: 127.9 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.06754/13.5, allocations: 12.61 MB / 4.671 GB, free: 126 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008418/13.51, allocations: 5.531 MB / 4.677 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/13.51, allocations: 0.5625 kB / 4.677 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/13.51, allocations: 1.891 MB / 4.679 GB, free: 125.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008744/13.52, allocations: 1.687 MB / 4.68 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/13.54, allocations: 9.102 MB / 4.689 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/13.54, allocations: 3.15 MB / 4.692 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01016/13.55, allocations: 3.34 MB / 4.696 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003264/13.56, allocations: 1.844 MB / 4.697 GB, free: 122.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/13.56, allocations: 3.844 kB / 4.697 GB, free: 122.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/13.73, allocations: 120.6 MB / 4.815 GB, free: 70.61 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/13.73, allocations: 179.3 kB / 4.815 GB, free: 70.42 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.942/19.67, allocations: 0 / 4.815 GB, free: 70.42 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)