Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 175.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.001116/0.001116, allocations: 96.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003785, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2445, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.823/7.068, allocations: 2.228 GB / 3.128 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/7.068, allocations: 97.94 kB / 3.128 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.126/13.19, allocations: 1.414 GB / 4.542 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/13.19, allocations: 0 / 4.542 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000925/13.19, allocations: 124.5 kB / 4.542 GB, free: 122.5 MB / 0.8855 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.02843/13.22, allocations: 6.368 MB / 4.548 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/13.22, allocations: 7.625 kB / 4.548 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00328/13.23, allocations: 0.5237 MB / 4.549 GB, free: 120 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/13.24, allocations: 1.591 MB / 4.55 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/13.26, allocations: 5.256 MB / 4.555 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/13.26, allocations: 281.3 kB / 4.556 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/13.26, allocations: 376.3 kB / 4.556 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/13.28, allocations: 5.451 MB / 4.561 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/13.28, allocations: 7.312 kB / 4.561 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0013/13.28, allocations: 163.3 kB / 4.562 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/13.28, allocations: 156.6 kB / 4.562 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/13.3, allocations: 5.332 MB / 4.567 GB, free: 118.5 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04466/13.34, allocations: 19.2 MB / 4.586 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/13.35, allocations: 3.825 MB / 4.589 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/13.36, allocations: 2.531 MB / 4.592 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00547/13.36, allocations: 2.122 MB / 4.594 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 9.849e-06/13.36, allocations: 2.625 kB / 4.594 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.01781/13.38, allocations: 6.822 MB / 4.601 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/13.38, allocations: 295.9 kB / 4.601 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006902/13.39, allocations: 3.35 MB / 4.604 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/13.39, allocations: 84.02 kB / 4.604 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/13.39, allocations: 1.949 MB / 4.606 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/13.39, allocations: 0.9633 MB / 4.607 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000745/13.39, allocations: 58.53 kB / 4.607 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00033/13.39, allocations: 425.3 kB / 4.608 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/13.4, allocations: 1.599 MB / 4.609 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005006/13.4, allocations: 2.24 MB / 4.611 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/13.41, allocations: 1.942 MB / 4.613 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.075e-05/13.41, allocations: 3.062 kB / 4.613 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01514/13.42, allocations: 4.467 MB / 4.618 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002288/13.42, allocations: 6.548 MB / 4.624 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.729e-05/13.42, allocations: 15.34 kB / 4.624 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008518/13.43, allocations: 114.7 kB / 4.624 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/13.43, allocations: 0.7941 MB / 4.625 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/13.43, allocations: 2.186 MB / 4.627 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007559/13.44, allocations: 0.5257 MB / 4.628 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/13.44, allocations: 166.5 kB / 4.628 GB, free: 96.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/13.44, allocations: 6.469 kB / 4.628 GB, free: 96.27 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01317/13.46, allocations: 4.119 MB / 4.632 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-05/13.46, allocations: 17.84 kB / 4.632 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/13.46, allocations: 107.7 kB / 4.632 GB, free: 94.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/13.46, allocations: 0.7836 MB / 4.633 GB, free: 94.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/13.46, allocations: 1.589 MB / 4.634 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006881/13.47, allocations: 499.9 kB / 4.635 GB, free: 93.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/13.47, allocations: 163.1 kB / 4.635 GB, free: 93.05 MB / 0.8855 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 () * Number of clocked 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.005888/13.48, allocations: 1.525 MB / 4.636 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002528/13.48, allocations: 388.8 kB / 4.637 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01938/13.5, allocations: 5.14 MB / 4.642 GB, free: 90.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/13.5, allocations: 30.03 kB / 4.642 GB, free: 90.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/13.5, allocations: 2.75 kB / 4.642 GB, free: 90.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01264/13.51, allocations: 4.062 MB / 4.646 GB, free: 88.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03264/13.55, allocations: 9.947 MB / 4.655 GB, free: 84.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/13.55, allocations: 3.469 kB / 4.655 GB, free: 84.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/13.55, allocations: 0.6161 MB / 4.656 GB, free: 84.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/13.55, allocations: 0.6772 MB / 4.657 GB, free: 84.33 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/13.55, allocations: 97.48 kB / 4.657 GB, free: 84.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005633/13.56, allocations: 7.555 MB / 4.664 GB, free: 77.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/13.56, allocations: 0 / 4.664 GB, free: 77.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/13.58, allocations: 6.799 MB / 4.671 GB, free: 72.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005434/13.59, allocations: 1.141 MB / 4.672 GB, free: 71.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002496/13.59, allocations: 56 kB / 4.672 GB, free: 71.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006076/13.6, allocations: 317 kB / 4.672 GB, free: 71.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009903/13.6, allocations: 189.9 kB / 4.672 GB, free: 71.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/13.6, allocations: 139.1 kB / 4.673 GB, free: 71.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006854/13.61, allocations: 2.64 MB / 4.675 GB, free: 69.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/13.61, allocations: 0 / 4.675 GB, free: 69.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01617/13.62, allocations: 2.871 MB / 4.678 GB, free: 66.38 MB / 0.8855 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) * Number of clocked states: 0 () * 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.02658/13.65, allocations: 8.99 MB / 4.687 GB, free: 58.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01818/13.67, allocations: 6.289 MB / 4.693 GB, free: 53.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/13.67, allocations: 5.719 kB / 4.693 GB, free: 53.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006546/13.67, allocations: 2.163 MB / 4.695 GB, free: 51.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01798/13.69, allocations: 1.937 MB / 4.697 GB, free: 50.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05598/13.75, allocations: 25.09 MB / 4.721 GB, free: 25.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/13.75, allocations: 3.139 MB / 4.724 GB, free: 23.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009789/13.76, allocations: 2.419 MB / 4.727 GB, free: 21.77 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00527/13.77, allocations: 1.935 MB / 4.729 GB, free: 20.04 MB / 0.8855 GB Notification: Performance of SimCode: time 2.234e-06/13.77, allocations: 0 / 4.729 GB, free: 20.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8023/14.57, allocations: 132.7 MB / 4.858 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/14.57, allocations: 258.8 kB / 4.859 GB, free: 131.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/21.44, allocations: 3.938 kB / 4.859 GB, free: 131.2 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)