Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001296/0.001296, allocations: 180.8 kB / 366.7 MB, free: 1.625 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.013/2.013, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.001114/0.001115, allocations: 89.16 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.052e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.746, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.172/6.918, allocations: 2.11 GB / 3.083 GB, free: 282.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/6.918, allocations: 91.23 kB / 3.083 GB, free: 282.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.077/12, allocations: 1.401 GB / 4.484 GB, free: 21.94 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/12, allocations: 0 / 4.484 GB, free: 21.94 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008804/12, allocations: 131.8 kB / 4.484 GB, free: 21.81 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.01995/12.02, allocations: 5.515 MB / 4.49 GB, free: 16.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/12.02, allocations: 8.031 kB / 4.49 GB, free: 16.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/12.03, allocations: 1.617 MB / 4.491 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/12.04, allocations: 5.227 MB / 4.497 GB, free: 9.301 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/12.04, allocations: 120 kB / 4.497 GB, free: 9.184 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/12.04, allocations: 224 kB / 4.497 GB, free: 8.965 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009737/12.05, allocations: 4.431 MB / 4.501 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7009/12.75, allocations: 4.594 MB / 4.506 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/12.75, allocations: 6.156 kB / 4.506 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009219/12.76, allocations: 6.844 kB / 4.506 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002537/12.76, allocations: 160.1 kB / 4.506 GB, free: 132.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.04/12.8, allocations: 18.48 MB / 4.524 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/12.8, allocations: 3.269 MB / 4.527 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/12.8, allocations: 1.62 MB / 4.529 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00214/12.81, allocations: 2.532 MB / 4.531 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/12.81, allocations: 1.825 MB / 4.533 GB, free: 124.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 4.468e-06/12.81, allocations: 0 / 4.533 GB, free: 124.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.06224/12.87, allocations: 8.048 MB / 4.541 GB, free: 124.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/12.87, allocations: 293.6 kB / 4.541 GB, free: 124.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/12.88, allocations: 2.861 MB / 4.544 GB, free: 123.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008854/12.88, allocations: 25.7 kB / 4.544 GB, free: 123.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002033/12.88, allocations: 1.945 MB / 4.546 GB, free: 123.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/12.88, allocations: 0.9278 MB / 4.547 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/12.88, allocations: 0 / 4.547 GB, free: 122.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002129/12.88, allocations: 437.1 kB / 4.547 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/12.88, allocations: 1.341 MB / 4.548 GB, free: 122.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/12.89, allocations: 1.963 MB / 4.55 GB, free: 121.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1522/13.04, allocations: 13.34 MB / 4.563 GB, free: 121.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-05/13.04, allocations: 7.25 kB / 4.563 GB, free: 121.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.1607/13.2, allocations: 15.45 MB / 4.578 GB, free: 121.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001157/13.2, allocations: 6.448 MB / 4.585 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/13.2, allocations: 14.69 kB / 4.585 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007089/13.2, allocations: 110.5 kB / 4.585 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005088/13.21, allocations: 0.8003 MB / 4.586 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/13.21, allocations: 2.092 MB / 4.588 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/13.21, allocations: 450.8 kB / 4.588 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/13.22, allocations: 161 kB / 4.588 GB, free: 112.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/13.22, allocations: 4.406 kB / 4.588 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1604/13.38, allocations: 15.09 MB / 4.603 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/13.38, allocations: 18.25 kB / 4.603 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/13.38, allocations: 111.7 kB / 4.603 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/13.38, allocations: 0.784 MB / 4.604 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/13.38, allocations: 1.503 MB / 4.605 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/13.39, allocations: 407.8 kB / 4.606 GB, free: 111.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/13.39, allocations: 159.5 kB / 4.606 GB, free: 111.2 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.001115/13.39, allocations: 181.6 kB / 4.606 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06223/13.45, allocations: 8.064 MB / 4.614 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/13.45, allocations: 360 kB / 4.614 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06325/13.52, allocations: 8.96 MB / 4.623 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/13.52, allocations: 30.92 kB / 4.623 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/13.52, allocations: 4 kB / 4.623 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06019/13.58, allocations: 7.97 MB / 4.631 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07019/13.65, allocations: 13.35 MB / 4.644 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/13.65, allocations: 5 kB / 4.644 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/13.65, allocations: 0.6146 MB / 4.644 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/13.65, allocations: 457 kB / 4.645 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/13.65, allocations: 70.2 kB / 4.645 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/13.66, allocations: 7.506 MB / 4.652 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/13.66, allocations: 7.578 kB / 4.652 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06446/13.72, allocations: 10.43 MB / 4.663 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003675/13.72, allocations: 1.101 MB / 4.664 GB, free: 99.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009913/13.73, allocations: 15.03 kB / 4.664 GB, free: 99.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/13.73, allocations: 263.1 kB / 4.664 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/13.73, allocations: 185.2 kB / 4.664 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/13.73, allocations: 137.5 kB / 4.664 GB, free: 99.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003175/13.73, allocations: 2.2 MB / 4.666 GB, free: 99.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/13.73, allocations: 3.609 kB / 4.666 GB, free: 99.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01035/13.74, allocations: 2.752 MB / 4.669 GB, free: 99.57 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.06722/13.81, allocations: 12.61 MB / 4.681 GB, free: 97.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009112/13.82, allocations: 5.527 MB / 4.687 GB, free: 97.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/13.82, allocations: 0.5625 kB / 4.687 GB, free: 97.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003081/13.82, allocations: 1.886 MB / 4.689 GB, free: 97.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009728/13.83, allocations: 1.679 MB / 4.69 GB, free: 97.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/13.85, allocations: 9.105 MB / 4.699 GB, free: 95.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/13.86, allocations: 3.143 MB / 4.702 GB, free: 94.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01275/13.87, allocations: 3.346 MB / 4.705 GB, free: 94.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003732/13.87, allocations: 1.847 MB / 4.707 GB, free: 94.04 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/13.87, allocations: 0 / 4.707 GB, free: 94.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/14.05, allocations: 120.6 MB / 4.825 GB, free: 9.203 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/14.05, allocations: 171.2 kB / 4.825 GB, free: 9.008 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.254/20.3, allocations: 0 / 4.825 GB, free: 9.008 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)