Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 188.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007791/0.0007793, allocations: 90.48 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.706e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.132/5.323, allocations: 2.193 GB / 3.078 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/5.323, allocations: 83.02 kB / 3.078 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.167/5.49, allocations: 80.96 MB / 3.157 GB, free: 97.81 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/5.49, allocations: 11.94 kB / 3.157 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.103e-05/5.49, allocations: 27.94 kB / 3.157 GB, free: 97.77 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002028/5.492, allocations: 1.3 MB / 3.158 GB, free: 96.42 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/5.492, allocations: 8.031 kB / 3.158 GB, free: 96.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008514/5.493, allocations: 230.1 kB / 3.159 GB, free: 96.19 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/5.494, allocations: 0.7443 MB / 3.159 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.84e-05/5.494, allocations: 80.09 kB / 3.159 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/5.494, allocations: 64 kB / 3.16 GB, free: 95.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001534/5.496, allocations: 1.246 MB / 3.161 GB, free: 94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/5.497, allocations: 1.021 MB / 3.162 GB, free: 92.92 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/5.498, allocations: 3.938 kB / 3.162 GB, free: 92.92 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/5.498, allocations: 7.953 kB / 3.162 GB, free: 92.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/5.498, allocations: 28 kB / 3.162 GB, free: 92.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/5.502, allocations: 3.134 MB / 3.165 GB, free: 89.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009504/5.503, allocations: 0.8231 MB / 3.166 GB, free: 88.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/5.503, allocations: 319.1 kB / 3.166 GB, free: 88.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-05/5.503, allocations: 40.7 kB / 3.166 GB, free: 88.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/5.504, allocations: 0.4919 MB / 3.166 GB, free: 87.99 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 3.346e-06/5.504, allocations: 0 / 3.166 GB, free: 87.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.00165/5.506, allocations: 0.8407 MB / 3.167 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/5.506, allocations: 244.1 kB / 3.168 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/5.506, allocations: 0.5936 MB / 3.168 GB, free: 86.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/5.506, allocations: 25.7 kB / 3.168 GB, free: 86.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/5.507, allocations: 0.5076 MB / 3.169 GB, free: 85.69 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/5.507, allocations: 295.5 kB / 3.169 GB, free: 85.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/5.507, allocations: 0 / 3.169 GB, free: 85.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001032/5.507, allocations: 386.8 kB / 3.169 GB, free: 85.01 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/5.507, allocations: 274.6 kB / 3.17 GB, free: 84.74 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/5.508, allocations: 397 kB / 3.17 GB, free: 84.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/5.508, allocations: 342.3 kB / 3.17 GB, free: 83.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/5.508, allocations: 4 kB / 3.17 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001496/5.51, allocations: 0.8755 MB / 3.171 GB, free: 83.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/5.51, allocations: 8.094 kB / 3.171 GB, free: 83.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/5.51, allocations: 7.953 kB / 3.171 GB, free: 83.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/5.51, allocations: 84.77 kB / 3.171 GB, free: 83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/5.511, allocations: 187.8 kB / 3.171 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/5.513, allocations: 1.461 MB / 3.173 GB, free: 81.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/5.513, allocations: 71.44 kB / 3.173 GB, free: 81.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/5.513, allocations: 39.97 kB / 3.173 GB, free: 81.12 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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.0001774/5.514, allocations: 129 kB / 3.173 GB, free: 80.99 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001474/5.515, allocations: 0.8396 MB / 3.174 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/5.515, allocations: 86.97 kB / 3.174 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/5.517, allocations: 1.199 MB / 3.175 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/5.517, allocations: 11.94 kB / 3.175 GB, free: 78.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/5.517, allocations: 0 / 3.175 GB, free: 78.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/5.517, allocations: 11.94 kB / 3.175 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/5.52, allocations: 2.202 MB / 3.177 GB, free: 76.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/5.52, allocations: 3.984 kB / 3.177 GB, free: 76.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/5.521, allocations: 179.8 kB / 3.177 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/5.521, allocations: 84.78 kB / 3.178 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/5.522, allocations: 15.98 kB / 3.178 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/5.523, allocations: 1.489 MB / 3.179 GB, free: 74.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/5.523, allocations: 0 / 3.179 GB, free: 74.67 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/5.524, allocations: 1.021 MB / 3.18 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/5.525, allocations: 347.4 kB / 3.18 GB, free: 73.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/5.525, allocations: 4 kB / 3.18 GB, free: 73.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/5.526, allocations: 55.95 kB / 3.18 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/5.526, allocations: 69.2 kB / 3.18 GB, free: 73.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/5.526, allocations: 47.91 kB / 3.18 GB, free: 73.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005378/5.526, allocations: 499.1 kB / 3.181 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/5.526, allocations: 0 / 3.181 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001118/5.528, allocations: 386.7 kB / 3.181 GB, free: 72.24 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.003279/5.531, allocations: 2.502 MB / 3.184 GB, free: 69.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001316/5.532, allocations: 0.8357 MB / 3.185 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/5.532, allocations: 0 / 3.185 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006809/5.533, allocations: 0.5339 MB / 3.185 GB, free: 68.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/5.534, allocations: 234.6 kB / 3.185 GB, free: 68.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/5.538, allocations: 1.858 MB / 3.187 GB, free: 66.24 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/5.539, allocations: 1.149 MB / 3.188 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000942/5.54, allocations: 283.1 kB / 3.189 GB, free: 64.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/5.54, allocations: 499.2 kB / 3.189 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.366e-06/5.54, allocations: 0 / 3.189 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.061/5.601, allocations: 27.47 MB / 3.216 GB, free: 36.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/5.602, allocations: 212.9 kB / 3.216 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/8.559, allocations: 0 / 3.216 GB, free: 36.64 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)