Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.511/1.511, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.001088/0.001088, allocations: 182.5 kB / 321.3 MB, free: 14.64 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.708/1.708, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009489/0.000949, allocations: 85.28 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.048e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2689, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/6.905, allocations: 2.19 GB / 3.082 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/6.905, allocations: 87.94 kB / 3.082 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1222/7.027, allocations: 57.09 MB / 3.138 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/7.027, allocations: 0 / 3.138 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.841e-05/7.027, allocations: 31.88 kB / 3.138 GB, free: 121.5 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002234/7.029, allocations: 1.035 MB / 3.139 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/7.029, allocations: 8.031 kB / 3.139 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/7.03, allocations: 122.8 kB / 3.139 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/7.031, allocations: 182.6 kB / 3.139 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/7.032, allocations: 0.6036 MB / 3.14 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/7.032, allocations: 58 kB / 3.14 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/7.032, allocations: 72 kB / 3.14 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/7.034, allocations: 0.8014 MB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/7.034, allocations: 3.938 kB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/7.034, allocations: 39.95 kB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/7.034, allocations: 20 kB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/7.035, allocations: 1.007 MB / 3.142 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/7.039, allocations: 2.355 MB / 3.144 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/7.04, allocations: 0.6688 MB / 3.145 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/7.04, allocations: 258.4 kB / 3.145 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/7.04, allocations: 32.67 kB / 3.145 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/7.041, allocations: 397.1 kB / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.605e-06/7.041, allocations: 4 kB / 3.145 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001463/7.042, allocations: 0.6758 MB / 3.146 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/7.042, allocations: 240.1 kB / 3.146 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/7.043, allocations: 0.5658 MB / 3.147 GB, free: 112 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/7.043, allocations: 41.7 kB / 3.147 GB, free: 112 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/7.043, allocations: 364.3 kB / 3.147 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/7.043, allocations: 232.6 kB / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/7.043, allocations: 16 kB / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/7.043, allocations: 374.8 kB / 3.148 GB, free: 111 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/7.044, allocations: 197.5 kB / 3.148 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/7.044, allocations: 305 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/7.044, allocations: 246 kB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/7.044, allocations: 7.922 kB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001301/7.046, allocations: 0.6759 MB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/7.046, allocations: 8 kB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/7.046, allocations: 0 / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/7.046, allocations: 84.78 kB / 3.149 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/7.047, allocations: 135.8 kB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/7.049, allocations: 1.509 MB / 3.151 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/7.049, allocations: 83.41 kB / 3.151 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/7.049, allocations: 27.97 kB / 3.151 GB, free: 107.5 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 (74): * Single equations (assignments): 73 * 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.0001539/7.049, allocations: 148.9 kB / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/7.049, allocations: 79.02 kB / 3.151 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/7.051, allocations: 0.93 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/7.051, allocations: 8 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/7.051, allocations: 4 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/7.051, allocations: 3.984 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/7.052, allocations: 0.8409 MB / 3.153 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/7.052, allocations: 48 / 3.153 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/7.053, allocations: 147.8 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/7.053, allocations: 80.78 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/7.053, allocations: 23.98 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/7.055, allocations: 1.536 MB / 3.154 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/7.055, allocations: 0 / 3.154 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/7.056, allocations: 0.7816 MB / 3.155 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/7.056, allocations: 283.8 kB / 3.156 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/7.057, allocations: 12 kB / 3.156 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/7.057, allocations: 71.94 kB / 3.156 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/7.057, allocations: 60.66 kB / 3.156 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/7.057, allocations: 27.98 kB / 3.156 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006106/7.058, allocations: 467.1 kB / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/7.058, allocations: 0 / 3.156 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001186/7.059, allocations: 327.3 kB / 3.156 GB, free: 101.5 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 (82): * Single equations (assignments): 79 * 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.003855/7.063, allocations: 2.22 MB / 3.159 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001253/7.064, allocations: 0.6706 MB / 3.159 GB, free: 98.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/7.064, allocations: 4.125 kB / 3.159 GB, free: 98.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006587/7.065, allocations: 459 kB / 3.16 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/7.066, allocations: 236.8 kB / 3.16 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/7.07, allocations: 1.501 MB / 3.161 GB, free: 96.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/7.07, allocations: 1.007 MB / 3.162 GB, free: 95.38 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007964/7.071, allocations: 249.9 kB / 3.163 GB, free: 95.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/7.071, allocations: 339.2 kB / 3.163 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/7.071, allocations: 0 / 3.163 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/7.119, allocations: 30.15 MB / 3.192 GB, free: 64.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/7.119, allocations: 274.1 kB / 3.193 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/10.06, allocations: 4 kB / 3.193 GB, free: 64.57 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)