Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.495/2.495, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001522/0.001522, allocations: 176.9 kB / 360.6 MB, free: 7.285 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.171/2.171, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001077/0.001077, allocations: 90.33 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.757e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9951/0.9952, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.028/8.023, allocations: 2.358 GB / 3.321 GB, free: 124.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/8.024, allocations: 90.95 kB / 3.321 GB, free: 124.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.885/15.91, allocations: 1.468 GB / 4.79 GB, free: 116.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.973e-06/15.91, allocations: 0 / 4.79 GB, free: 116.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001205/15.91, allocations: 182.9 kB / 4.79 GB, free: 116.1 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02724/15.94, allocations: 6.563 MB / 4.796 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/15.94, allocations: 12.03 kB / 4.796 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02699/15.96, allocations: 2.468 MB / 4.799 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03037/15.99, allocations: 7.853 MB / 4.806 GB, free: 99.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006524/16, allocations: 188 kB / 4.806 GB, free: 98.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002918/16, allocations: 347.9 kB / 4.807 GB, free: 98.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02212/16.02, allocations: 6.84 MB / 4.813 GB, free: 91.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/16.05, allocations: 7.034 MB / 4.82 GB, free: 84.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003335/16.05, allocations: 11.94 kB / 4.82 GB, free: 84.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/16.05, allocations: 11.98 kB / 4.82 GB, free: 84.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/16.05, allocations: 267.2 kB / 4.821 GB, free: 84.26 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.07854/16.13, allocations: 30.08 MB / 4.85 GB, free: 53.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/16.14, allocations: 5.088 MB / 4.855 GB, free: 48.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007941/16.15, allocations: 2.565 MB / 4.857 GB, free: 45.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004824/16.15, allocations: 2.403 MB / 4.86 GB, free: 42.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01203/16.17, allocations: 2.82 MB / 4.863 GB, free: 39.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=421): time 1.5e-05/16.17, allocations: 0 / 4.863 GB, free: 39.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=421): time 0.3811/16.55, allocations: 17.23 MB / 4.879 GB, free: 22.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/16.55, allocations: 389.4 kB / 4.88 GB, free: 22.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/16.56, allocations: 4.507 MB / 4.884 GB, free: 17.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00153/16.56, allocations: 29.7 kB / 4.884 GB, free: 17.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004488/16.57, allocations: 3.113 MB / 4.887 GB, free: 14.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002698/16.57, allocations: 1.37 MB / 4.889 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006349/16.57, allocations: 0 / 4.889 GB, free: 13.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003472/16.57, allocations: 483.5 kB / 4.889 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005574/16.58, allocations: 2.043 MB / 4.891 GB, free: 10.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007308/16.58, allocations: 2.968 MB / 4.894 GB, free: 7.125 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3666/16.95, allocations: 15.04 MB / 4.909 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.177e-05/16.95, allocations: 4 kB / 4.909 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.3751/17.33, allocations: 18.16 MB / 4.926 GB, free: 5.863 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.7696/18.1, allocations: 10.58 MB / 4.937 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/18.1, allocations: 22 kB / 4.937 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/18.1, allocations: 47.23 kB / 4.937 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/18.11, allocations: 1.274 MB / 4.938 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/18.11, allocations: 55.17 kB / 4.938 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/18.12, allocations: 0.6766 MB / 4.939 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/18.13, allocations: 228.6 kB / 4.939 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/18.13, allocations: 3.688 kB / 4.939 GB, free: 165.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3734/18.5, allocations: 17.59 MB / 4.956 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.913e-05/18.5, allocations: 22.06 kB / 4.956 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.742e-05/18.5, allocations: 46.06 kB / 4.956 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/18.51, allocations: 1.273 MB / 4.957 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001183/18.51, allocations: 58.12 kB / 4.957 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0127/18.53, allocations: 0.6132 MB / 4.958 GB, free: 165 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/18.53, allocations: 225.2 kB / 4.958 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.003124/18.53, allocations: 212.2 kB / 4.958 GB, free: 164.9 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4014/18.93, allocations: 17.22 MB / 4.975 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003361/18.94, allocations: 0.556 MB / 4.976 GB, free: 164 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3722/19.31, allocations: 18.32 MB / 4.994 GB, free: 162.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/19.31, allocations: 48.17 kB / 4.994 GB, free: 162.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/19.31, allocations: 0 / 4.994 GB, free: 162.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.372/19.68, allocations: 16.85 MB / 5.01 GB, free: 161.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5158/20.2, allocations: 25.65 MB / 5.035 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/20.2, allocations: 4.594 kB / 5.035 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01648/20.21, allocations: 1.048 MB / 5.036 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/20.21, allocations: 23.42 kB / 5.036 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001618/20.21, allocations: 94.98 kB / 5.036 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.347e-05/20.21, allocations: 26.98 kB / 5.036 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/20.21, allocations: 14.75 kB / 5.036 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4195/20.63, allocations: 21.68 MB / 5.058 GB, free: 156.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006571/20.64, allocations: 1.619 MB / 5.059 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00267/20.64, allocations: 21.52 kB / 5.059 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01186/20.65, allocations: 425.8 kB / 5.06 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/20.66, allocations: 272.4 kB / 5.06 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009893/20.66, allocations: 208.9 kB / 5.06 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.008798/20.67, allocations: 3.481 MB / 5.063 GB, free: 156.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.41e-07/20.67, allocations: 0 / 5.063 GB, free: 156.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01884/20.68, allocations: 3.494 MB / 5.067 GB, free: 155.9 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.3692/21.05, allocations: 24.97 MB / 5.091 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02293/21.08, allocations: 8.027 MB / 5.099 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/21.08, allocations: 5.594 kB / 5.099 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007602/21.08, allocations: 2.497 MB / 5.102 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02209/21.11, allocations: 2.557 MB / 5.104 GB, free: 150.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04167/21.15, allocations: 13 MB / 5.117 GB, free: 141.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008314/21.16, allocations: 4.432 MB / 5.121 GB, free: 139.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02936/21.19, allocations: 3.846 MB / 5.125 GB, free: 136.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008958/21.2, allocations: 3.016 MB / 5.128 GB, free: 136.3 MB / 0.9792 GB Notification: Performance of SimCode: time 2.285e-06/21.2, allocations: 0 / 5.128 GB, free: 136.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/21.68, allocations: 170.4 MB / 5.294 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/21.68, allocations: 175.7 kB / 5.294 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/33.44, allocations: 1.406 kB / 5.294 GB, free: 1.043 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)