Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.Validation.EN12975_Series,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",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.807/1.807, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001134/0.001134, allocations: 176.8 kB / 366.7 MB, free: 1.641 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.809/1.809, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008673/0.0008673, allocations: 92.03 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.01e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8042, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.318/7.123, allocations: 2.359 GB / 3.332 GB, free: 146.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/7.123, allocations: 88.48 kB / 3.332 GB, free: 146.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.122/13.25, allocations: 1.468 GB / 4.801 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.354e-06/13.25, allocations: 0 / 4.801 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00113/13.25, allocations: 186.5 kB / 4.801 GB, free: 140.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02291/13.27, allocations: 6.555 MB / 4.807 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/13.27, allocations: 12.03 kB / 4.807 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/13.29, allocations: 2.472 MB / 4.81 GB, free: 131 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/13.31, allocations: 7.853 MB / 4.817 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/13.31, allocations: 189.4 kB / 4.817 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/13.31, allocations: 351.9 kB / 4.818 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01636/13.33, allocations: 6.833 MB / 4.824 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/13.35, allocations: 7.04 MB / 4.831 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004358/13.35, allocations: 13.31 kB / 4.831 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003036/13.36, allocations: 8 kB / 4.831 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/13.36, allocations: 267.2 kB / 4.832 GB, free: 108.3 MB / 0.9636 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.06282/13.42, allocations: 30.08 MB / 4.861 GB, free: 77.51 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008696/13.43, allocations: 5.088 MB / 4.866 GB, free: 72.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004346/13.43, allocations: 2.565 MB / 4.868 GB, free: 69.85 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002397/13.44, allocations: 2.411 MB / 4.871 GB, free: 66.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005672/13.44, allocations: 2.812 MB / 4.874 GB, free: 64.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=421): time 1.054e-05/13.44, allocations: 0 / 4.874 GB, free: 64.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=421): time 0.1655/13.61, allocations: 17.23 MB / 4.89 GB, free: 46.83 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/13.61, allocations: 381.4 kB / 4.891 GB, free: 46.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009548/13.62, allocations: 4.507 MB / 4.895 GB, free: 41.89 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001584/13.62, allocations: 29.7 kB / 4.895 GB, free: 41.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002872/13.62, allocations: 3.113 MB / 4.898 GB, free: 38.71 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002432/13.62, allocations: 1.366 MB / 4.9 GB, free: 37.33 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/13.62, allocations: 4.031 kB / 4.9 GB, free: 37.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002264/13.63, allocations: 487.4 kB / 4.9 GB, free: 36.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/13.63, allocations: 2.031 MB / 4.902 GB, free: 34.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/13.63, allocations: 2.979 MB / 4.905 GB, free: 31.44 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1623/13.79, allocations: 15.03 MB / 4.92 GB, free: 16.38 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/13.79, allocations: 8.219 kB / 4.92 GB, free: 16.38 MB / 0.9636 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.1791/13.97, allocations: 18.16 MB / 4.937 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005533/13.98, allocations: 10.58 MB / 4.948 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.052e-05/13.98, allocations: 24 kB / 4.948 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/13.98, allocations: 47.94 kB / 4.948 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00854/13.99, allocations: 1.275 MB / 4.949 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/13.99, allocations: 55.86 kB / 4.949 GB, free: 1.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009917/14, allocations: 0.6788 MB / 4.95 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/14, allocations: 223.8 kB / 4.95 GB, free: 376 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/14, allocations: 4 kB / 4.95 GB, free: 372 kB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9471/14.95, allocations: 17.59 MB / 4.967 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/14.95, allocations: 22.66 kB / 4.967 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.004e-05/14.95, allocations: 45.94 kB / 4.967 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007035/14.95, allocations: 1.274 MB / 4.968 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.448e-05/14.95, allocations: 52.62 kB / 4.968 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/14.96, allocations: 0.6224 MB / 4.969 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/14.96, allocations: 220.1 kB / 4.969 GB, free: 165 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001645/14.97, allocations: 211.8 kB / 4.969 GB, free: 164.9 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1774/15.14, allocations: 17.22 MB / 4.986 GB, free: 164.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004277/15.15, allocations: 0.5533 MB / 4.987 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1846/15.33, allocations: 18.3 MB / 5.005 GB, free: 163.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-05/15.33, allocations: 45.39 kB / 5.005 GB, free: 163.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/15.33, allocations: 0 / 5.005 GB, free: 163.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.164/15.5, allocations: 16.87 MB / 5.021 GB, free: 162 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1787/15.67, allocations: 25.65 MB / 5.046 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/15.68, allocations: 7.844 kB / 5.046 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00657/15.68, allocations: 1.042 MB / 5.047 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.597e-05/15.68, allocations: 23.66 kB / 5.047 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001057/15.68, allocations: 99.77 kB / 5.047 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.643e-05/15.68, allocations: 26.55 kB / 5.047 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/15.68, allocations: 13.08 kB / 5.047 GB, free: 160 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1693/15.85, allocations: 21.67 MB / 5.069 GB, free: 157.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006091/15.86, allocations: 1.621 MB / 5.07 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002526/15.86, allocations: 22.56 kB / 5.07 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007989/15.87, allocations: 427.6 kB / 5.071 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009656/15.87, allocations: 281.2 kB / 5.071 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007989/15.87, allocations: 207.8 kB / 5.071 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007052/15.88, allocations: 3.48 MB / 5.074 GB, free: 156.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.01e-07/15.88, allocations: 0 / 5.074 GB, free: 156.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01719/15.9, allocations: 3.491 MB / 5.078 GB, free: 156.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1718/16.07, allocations: 24.99 MB / 5.102 GB, free: 151.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01314/16.08, allocations: 8.028 MB / 5.11 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/16.08, allocations: 9.781 kB / 5.11 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/16.08, allocations: 2.49 MB / 5.113 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01478/16.1, allocations: 2.548 MB / 5.115 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/16.13, allocations: 13 MB / 5.128 GB, free: 144.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004935/16.14, allocations: 4.435 MB / 5.132 GB, free: 141.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01694/16.15, allocations: 3.845 MB / 5.136 GB, free: 139.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006159/16.16, allocations: 3.013 MB / 5.139 GB, free: 138.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.283e-06/16.16, allocations: 4 kB / 5.139 GB, free: 138.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2719/16.43, allocations: 170.4 MB / 5.305 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/16.43, allocations: 175.5 kB / 5.305 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/24.86, allocations: 0 / 5.305 GB, free: 2.902 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)