Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.474/1.474, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.00103/0.00103, allocations: 178 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008236/0.0008235, allocations: 92.19 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.293e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.918, allocations: 2.191 GB / 3.083 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/6.919, allocations: 84.89 kB / 3.083 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1659/7.085, allocations: 77.92 MB / 3.159 GB, free: 100 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/7.085, allocations: 0 / 3.159 GB, free: 100 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.365e-05/7.085, allocations: 32 kB / 3.159 GB, free: 100 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001822/7.087, allocations: 1.242 MB / 3.16 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/7.087, allocations: 12.03 kB / 3.16 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/7.087, allocations: 169.1 kB / 3.16 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/7.088, allocations: 214.2 kB / 3.16 GB, free: 98.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/7.089, allocations: 0.6938 MB / 3.161 GB, free: 97.56 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/7.089, allocations: 86.23 kB / 3.161 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/7.089, allocations: 108 kB / 3.161 GB, free: 97.37 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/7.091, allocations: 1.075 MB / 3.162 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/7.091, allocations: 3.953 kB / 3.162 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/7.091, allocations: 48 kB / 3.162 GB, free: 96.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/7.091, allocations: 28 kB / 3.162 GB, free: 96.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/7.092, allocations: 1.175 MB / 3.163 GB, free: 94.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/7.096, allocations: 3.015 MB / 3.166 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/7.097, allocations: 0.7387 MB / 3.167 GB, free: 91.13 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/7.097, allocations: 279.2 kB / 3.167 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/7.097, allocations: 32.8 kB / 3.167 GB, free: 90.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005708/7.098, allocations: 437.2 kB / 3.168 GB, free: 90.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/7.098, allocations: 0 / 3.168 GB, free: 90.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.001553/7.1, allocations: 0.7275 MB / 3.169 GB, free: 89.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/7.1, allocations: 244.1 kB / 3.169 GB, free: 89.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/7.1, allocations: 0.6406 MB / 3.169 GB, free: 88.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/7.101, allocations: 45.64 kB / 3.169 GB, free: 88.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/7.101, allocations: 499.7 kB / 3.17 GB, free: 88.15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/7.101, allocations: 264.1 kB / 3.17 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/7.101, allocations: 16 kB / 3.17 GB, free: 87.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/7.101, allocations: 333.9 kB / 3.171 GB, free: 87.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/7.101, allocations: 213.5 kB / 3.171 GB, free: 87.33 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/7.102, allocations: 333.1 kB / 3.171 GB, free: 86.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/7.102, allocations: 274 kB / 3.171 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/7.102, allocations: 0 / 3.171 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001336/7.104, allocations: 0.7383 MB / 3.172 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/7.104, allocations: 9.406 kB / 3.172 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/7.104, allocations: 0 / 3.172 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/7.104, allocations: 80.84 kB / 3.172 GB, free: 85.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/7.105, allocations: 155.7 kB / 3.172 GB, free: 85.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/7.106, allocations: 1.521 MB / 3.174 GB, free: 84.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/7.107, allocations: 91.34 kB / 3.174 GB, free: 83.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/7.107, allocations: 27.98 kB / 3.174 GB, free: 83.95 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001544/7.107, allocations: 146 kB / 3.174 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/7.107, allocations: 86.91 kB / 3.174 GB, free: 83.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/7.109, allocations: 1.006 MB / 3.175 GB, free: 82.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/7.109, allocations: 8 kB / 3.175 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/7.109, allocations: 0 / 3.175 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/7.109, allocations: 3.984 kB / 3.175 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/7.11, allocations: 0.997 MB / 3.176 GB, free: 81.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/7.11, allocations: 4 kB / 3.176 GB, free: 81.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/7.111, allocations: 155.8 kB / 3.176 GB, free: 81.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/7.111, allocations: 76.78 kB / 3.176 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/7.111, allocations: 27.98 kB / 3.176 GB, free: 81.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/7.113, allocations: 1.536 MB / 3.178 GB, free: 79.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/7.113, allocations: 0 / 3.178 GB, free: 79.69 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/7.114, allocations: 0.844 MB / 3.179 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/7.114, allocations: 295.7 kB / 3.179 GB, free: 78.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/7.114, allocations: 19.94 kB / 3.179 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/7.115, allocations: 67.95 kB / 3.179 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/7.115, allocations: 60.69 kB / 3.179 GB, free: 78.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/7.115, allocations: 31.98 kB / 3.179 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005485/7.116, allocations: 0.5187 MB / 3.18 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/7.116, allocations: 0 / 3.18 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001033/7.117, allocations: 378.7 kB / 3.18 GB, free: 77.45 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003175/7.12, allocations: 2.271 MB / 3.182 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001224/7.121, allocations: 0.7331 MB / 3.183 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/7.121, allocations: 3.984 kB / 3.183 GB, free: 74.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006393/7.122, allocations: 487 kB / 3.183 GB, free: 74 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/7.123, allocations: 256.7 kB / 3.184 GB, free: 73.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/7.127, allocations: 1.76 MB / 3.185 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/7.127, allocations: 1.106 MB / 3.186 GB, free: 70.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007858/7.128, allocations: 266.6 kB / 3.187 GB, free: 70.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/7.128, allocations: 451.3 kB / 3.187 GB, free: 70.11 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/7.128, allocations: 0 / 3.187 GB, free: 70.11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/7.184, allocations: 32.26 MB / 3.219 GB, free: 38.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/7.184, allocations: 250 kB / 3.219 GB, free: 37.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/10.08, allocations: 2.344 kB / 3.219 GB, free: 37.75 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)