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.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 178.7 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008738/0.000874, allocations: 96.06 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 10.41 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004469/0.2566, allocations: 3.803 MB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1496/0.4063, allocations: 127.3 MB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.4073, allocations: 19.88 kB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.4078, allocations: 75.28 kB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.4093, allocations: 461.8 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.4112, allocations: 0.6027 MB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.4126, allocations: 0.8097 MB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000948/0.4136, allocations: 0.6623 MB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006922/0.4143, allocations: 342.4 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.4149, allocations: 345.9 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.415, allocations: 24 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.4157, allocations: 251.7 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.4159, allocations: 183.1 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.4161, allocations: 217 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.4175, allocations: 1.27 MB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4175, allocations: 0 / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4175, allocations: 0 / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.4175, allocations: 0 / 1.033 GB, free: 7.152 MB / 0.6823 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.002372/0.4199, allocations: 1.32 MB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.42, allocations: 8.031 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.4202, allocations: 173.1 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.4211, allocations: 218.2 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.4223, allocations: 0.7663 MB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.4224, allocations: 82.25 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.4226, allocations: 108 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.4244, allocations: 1.106 MB / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.4245, allocations: 3.953 kB / 1.037 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.4246, allocations: 44 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.4246, allocations: 28 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.4266, allocations: 1.226 MB / 1.038 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.4317, allocations: 3.003 MB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.4331, allocations: 0.7818 MB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/0.4332, allocations: 28.69 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008446/0.4341, allocations: 447.2 kB / 1.042 GB, free: 13.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 2.975e-06/0.4341, allocations: 0 / 1.042 GB, free: 13.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.00296/0.4371, allocations: 1.145 MB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.4372, allocations: 188.6 kB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.4382, allocations: 0.6607 MB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.4383, allocations: 41.7 kB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.4387, allocations: 0.4918 MB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.4389, allocations: 260.2 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.439, allocations: 8 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4392, allocations: 398.7 kB / 1.045 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.4397, allocations: 237.9 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.4402, allocations: 350.4 kB / 1.046 GB, free: 9.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.4408, allocations: 290.9 kB / 1.046 GB, free: 9.379 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4408, allocations: 0 / 1.046 GB, free: 9.379 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001737/0.4425, allocations: 0.794 MB / 1.047 GB, free: 8.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4426, allocations: 4 kB / 1.047 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4426, allocations: 0 / 1.047 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.4432, allocations: 84.88 kB / 1.047 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.4438, allocations: 155.8 kB / 1.047 GB, free: 8.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.4459, allocations: 1.536 MB / 1.049 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.4466, allocations: 85.98 kB / 1.049 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.4467, allocations: 31.98 kB / 1.049 GB, free: 6.543 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 (84): * Single equations (assignments): 83 * 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.0005106/0.4472, allocations: 277.1 kB / 1.049 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4473, allocations: 86.88 kB / 1.049 GB, free: 6.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.4496, allocations: 1.038 MB / 1.05 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4496, allocations: 8 kB / 1.05 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4496, allocations: 0 / 1.05 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4497, allocations: 8.219 kB / 1.05 GB, free: 5.109 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.4509, allocations: 0.9698 MB / 1.051 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4509, allocations: 4 kB / 1.051 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.4515, allocations: 151.7 kB / 1.051 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.4521, allocations: 92.75 kB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.4521, allocations: 19.98 kB / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.454, allocations: 1.555 MB / 1.053 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.454, allocations: 7.922 kB / 1.053 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.4559, allocations: 0.8889 MB / 1.054 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/0.4564, allocations: 279.6 kB / 1.054 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4565, allocations: 19.98 kB / 1.054 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.4571, allocations: 71.89 kB / 1.054 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4572, allocations: 64.84 kB / 1.054 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.4573, allocations: 27.98 kB / 1.054 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006667/0.458, allocations: 479 kB / 1.055 GB, free: 284 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.458, allocations: 0 / 1.055 GB, free: 284 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.5151/0.973, allocations: 311.3 kB / 1.055 GB, free: 153.3 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * 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.003762/0.9769, allocations: 1.892 MB / 1.057 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.9785, allocations: 0.7737 MB / 1.058 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.9785, allocations: 2.906 kB / 1.058 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.9794, allocations: 0.4987 MB / 1.058 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.9806, allocations: 244.3 kB / 1.058 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.9912, allocations: 5.809 MB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.9924, allocations: 1.102 MB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00132/0.9937, allocations: 269.1 kB / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.9945, allocations: 449.2 kB / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/0.9945, allocations: 0 / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/1.056, allocations: 21.17 MB / 1.087 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.056, allocations: 283.7 kB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.842, allocations: 0 / 1.087 GB, free: 140.4 MB / 0.698 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)