Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001128/0.001128, allocations: 188.9 kB / 371.8 MB, free: 10.23 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.685/1.685, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000934/0.0009341, allocations: 86.94 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.000373, allocations: 11.03 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004037/0.2534, allocations: 3.406 MB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6884/0.9418, allocations: 127.2 MB / 1.107 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.9426, allocations: 13.41 kB / 1.107 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.943, allocations: 70.58 kB / 1.107 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.9445, allocations: 418.8 kB / 1.107 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.9465, allocations: 0.5777 MB / 1.108 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.9478, allocations: 0.7131 MB / 1.109 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/0.9486, allocations: 439.6 kB / 1.109 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.9492, allocations: 288.2 kB / 1.109 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.9496, allocations: 278.1 kB / 1.11 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.9497, allocations: 19.62 kB / 1.11 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.9505, allocations: 247.3 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.9508, allocations: 155.3 kB / 1.11 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.951, allocations: 174.6 kB / 1.11 GB, free: 17.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.9525, allocations: 0.9921 MB / 1.111 GB, free: 17.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.9526, allocations: 1.219 kB / 1.111 GB, free: 17.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9526, allocations: 0 / 1.111 GB, free: 17.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.9526, allocations: 0 / 1.111 GB, free: 17.76 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002292/0.9549, allocations: 1.097 MB / 1.112 GB, free: 17.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.955, allocations: 13.48 kB / 1.112 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.9552, allocations: 126 kB / 1.112 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.9561, allocations: 184 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9573, allocations: 0.6721 MB / 1.113 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.9573, allocations: 59.97 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.9574, allocations: 72.75 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.9592, allocations: 0.8179 MB / 1.114 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.9592, allocations: 1.219 kB / 1.114 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.9593, allocations: 40.25 kB / 1.114 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.9593, allocations: 17.56 kB / 1.114 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.9612, allocations: 1.042 MB / 1.115 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.9653, allocations: 2.336 MB / 1.118 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9668, allocations: 0.7786 MB / 1.118 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.9669, allocations: 30.86 kB / 1.118 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.9677, allocations: 417.8 kB / 1.119 GB, free: 15.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.988e-06/0.9677, allocations: 0 / 1.119 GB, free: 15.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.003189/0.9709, allocations: 1.064 MB / 1.12 GB, free: 15.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.9711, allocations: 191.6 kB / 1.12 GB, free: 15.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.9721, allocations: 0.548 MB / 1.12 GB, free: 14.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.9722, allocations: 39.89 kB / 1.121 GB, free: 14.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.9726, allocations: 370.7 kB / 1.121 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.9728, allocations: 225.2 kB / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.9729, allocations: 14.34 kB / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.9731, allocations: 376.9 kB / 1.121 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.9735, allocations: 213.2 kB / 1.122 GB, free: 14.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.9741, allocations: 310.7 kB / 1.122 GB, free: 14.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.9746, allocations: 253.5 kB / 1.122 GB, free: 14.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9746, allocations: 2.156 kB / 1.122 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001686/0.9763, allocations: 0.7032 MB / 1.123 GB, free: 14.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9763, allocations: 12.83 kB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.9763, allocations: 2.844 kB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/0.9769, allocations: 83.67 kB / 1.123 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.9775, allocations: 134.3 kB / 1.123 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.9798, allocations: 1.528 MB / 1.125 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.9805, allocations: 74.06 kB / 1.125 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.9806, allocations: 29.48 kB / 1.125 GB, free: 12.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.000558/0.9812, allocations: 252.5 kB / 1.125 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.9813, allocations: 76.8 kB / 1.125 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.9835, allocations: 0.9693 MB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.9835, allocations: 8.344 kB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.9835, allocations: 0 / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.9835, allocations: 4.359 kB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.9867, allocations: 1.798 MB / 1.128 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.9867, allocations: 0 / 1.128 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.9873, allocations: 135.4 kB / 1.128 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/0.9878, allocations: 83.75 kB / 1.128 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.9879, allocations: 27.12 kB / 1.128 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.9898, allocations: 1.56 MB / 1.129 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9898, allocations: 0 / 1.129 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.9916, allocations: 0.8852 MB / 1.13 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.992, allocations: 260.6 kB / 1.131 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.9921, allocations: 19.36 kB / 1.131 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.9926, allocations: 64.42 kB / 1.131 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.9928, allocations: 60.81 kB / 1.131 GB, free: 9.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.9928, allocations: 31.02 kB / 1.131 GB, free: 9.797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005797/0.9934, allocations: 399.7 kB / 1.131 GB, free: 9.656 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.713e-06/0.9934, allocations: 0 / 1.131 GB, free: 9.656 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009252/0.9944, allocations: 261 kB / 1.131 GB, free: 9.602 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003204/0.9976, allocations: 1.891 MB / 1.133 GB, free: 8.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.9991, allocations: 0.7095 MB / 1.134 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9991, allocations: 0 / 1.134 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/1, allocations: 486.8 kB / 1.134 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.001, allocations: 231 kB / 1.135 GB, free: 8.117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.011, allocations: 4.895 MB / 1.139 GB, free: 5.715 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/1.012, allocations: 1.003 MB / 1.14 GB, free: 4.883 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001061/1.013, allocations: 262.8 kB / 1.141 GB, free: 4.746 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/1.014, allocations: 343.5 kB / 1.141 GB, free: 4.695 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/1.014, allocations: 0 / 1.141 GB, free: 4.695 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/1.058, allocations: 18.92 MB / 1.159 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/1.058, allocations: 293.6 kB / 1.16 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.756, allocations: 6.016 kB / 1.16 GB, free: 11.25 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)