Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.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.Validation.FlatPlate,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_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.768/1.768, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.00125/0.00125, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.806/1.806, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.001347/0.001347, allocations: 92.14 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.614e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7583, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.135/6.893, allocations: 2.358 GB / 3.332 GB, free: 131.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/6.894, allocations: 89.88 kB / 3.332 GB, free: 131.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.781/15.67, allocations: 2.086 GB / 5.418 GB, free: 169.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/15.67, allocations: 0 / 5.418 GB, free: 169.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002134/15.68, allocations: 297.6 kB / 5.418 GB, free: 169.5 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.03623/15.71, allocations: 9.572 MB / 5.427 GB, free: 166 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/15.71, allocations: 7.875 kB / 5.427 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/15.73, allocations: 2.035 MB / 5.429 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0424/15.77, allocations: 14.74 MB / 5.444 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007201/15.77, allocations: 283.4 kB / 5.444 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004687/15.78, allocations: 0.5078 MB / 5.444 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02828/15.81, allocations: 10.25 MB / 5.454 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04526/15.85, allocations: 11.5 MB / 5.466 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007536/15.85, allocations: 35.95 kB / 5.466 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004965/15.86, allocations: 18.28 kB / 5.466 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005724/15.86, allocations: 463.1 kB / 5.466 GB, free: 156 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.1027/15.96, allocations: 48.97 MB / 5.514 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/15.97, allocations: 7.382 MB / 5.521 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006987/15.98, allocations: 3.913 MB / 5.525 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/15.98, allocations: 1.494 MB / 5.526 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008708/15.99, allocations: 3.732 MB / 5.53 GB, free: 99.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.05e-05/15.99, allocations: 4 kB / 5.53 GB, free: 99.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.07435/16.07, allocations: 11.36 MB / 5.541 GB, free: 87.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/16.07, allocations: 343.1 kB / 5.541 GB, free: 87.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02248/16.09, allocations: 7.682 MB / 5.549 GB, free: 79.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002386/16.09, allocations: 41.69 kB / 5.549 GB, free: 79.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006038/16.1, allocations: 4.886 MB / 5.554 GB, free: 74.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003511/16.1, allocations: 1.852 MB / 5.556 GB, free: 72.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006097/16.1, allocations: 0 / 5.556 GB, free: 72.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004836/16.1, allocations: 0.5791 MB / 5.556 GB, free: 72.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/16.11, allocations: 3.137 MB / 5.559 GB, free: 69.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/16.11, allocations: 4.957 MB / 5.564 GB, free: 63.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1548/16.27, allocations: 16.06 MB / 5.58 GB, free: 47.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-05/16.27, allocations: 16 kB / 5.58 GB, free: 47.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.1648/16.43, allocations: 20.73 MB / 5.6 GB, free: 26.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006077/16.44, allocations: 27.49 MB / 5.627 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/16.44, allocations: 52 kB / 5.627 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/16.44, allocations: 99.95 kB / 5.627 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/16.45, allocations: 1.833 MB / 5.629 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000179/16.45, allocations: 123.6 kB / 5.629 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/16.46, allocations: 1.015 MB / 5.63 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/16.46, allocations: 331.9 kB / 5.63 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/16.46, allocations: 4 kB / 5.63 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9215/17.38, allocations: 19.91 MB / 5.65 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/17.38, allocations: 53.44 kB / 5.65 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/17.38, allocations: 94.72 kB / 5.65 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009983/17.39, allocations: 1.832 MB / 5.652 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001849/17.39, allocations: 126.2 kB / 5.652 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/17.41, allocations: 0.8918 MB / 5.653 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0032/17.41, allocations: 335 kB / 5.653 GB, free: 182.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * 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.005245/17.42, allocations: 304 kB / 5.653 GB, free: 182.1 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07041/17.49, allocations: 11.35 MB / 5.664 GB, free: 181.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004355/17.49, allocations: 0.8044 MB / 5.665 GB, free: 181.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07372/17.56, allocations: 12.37 MB / 5.677 GB, free: 181.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.174e-05/17.56, allocations: 54.06 kB / 5.677 GB, free: 181.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/17.56, allocations: 1.406 kB / 5.677 GB, free: 181.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06879/17.63, allocations: 10.71 MB / 5.688 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1048/17.74, allocations: 22.75 MB / 5.71 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/17.74, allocations: 0.5625 kB / 5.71 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008872/17.75, allocations: 1.321 MB / 5.711 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/17.75, allocations: 19.03 kB / 5.711 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002194/17.75, allocations: 114.6 kB / 5.711 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.743e-05/17.75, allocations: 22.41 kB / 5.711 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/17.75, allocations: 0 / 5.711 GB, free: 180.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07763/17.83, allocations: 16.24 MB / 5.727 GB, free: 179 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009064/17.84, allocations: 2.354 MB / 5.729 GB, free: 178.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004597/17.84, allocations: 32.44 kB / 5.729 GB, free: 178.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/17.85, allocations: 0.6094 MB / 5.73 GB, free: 178.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002176/17.86, allocations: 334 kB / 5.73 GB, free: 178.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001581/17.86, allocations: 287.3 kB / 5.731 GB, free: 178.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0136/17.87, allocations: 5.884 MB / 5.736 GB, free: 178.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.91e-07/17.87, allocations: 0 / 5.736 GB, free: 178.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02973/17.9, allocations: 5.389 MB / 5.742 GB, free: 177.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.08266/17.98, allocations: 18.06 MB / 5.759 GB, free: 175.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02276/18.01, allocations: 11.99 MB / 5.771 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/18.01, allocations: 11.19 kB / 5.771 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006122/18.01, allocations: 3.39 MB / 5.774 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02938/18.04, allocations: 4.754 MB / 5.779 GB, free: 175 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07076/18.11, allocations: 22.32 MB / 5.801 GB, free: 167.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009426/18.12, allocations: 7.125 MB / 5.808 GB, free: 162.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03251/18.16, allocations: 8.595 MB / 5.816 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008852/18.16, allocations: 4.334 MB / 5.82 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.202e-06/18.16, allocations: 0 / 5.82 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9984/19.16, allocations: 253.5 MB / 6.068 GB, free: 168.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/19.16, allocations: 176.8 kB / 6.068 GB, free: 168.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/30.23, allocations: 0.5625 kB / 6.068 GB, free: 168.5 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)