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.494/1.494, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001137/0.001137, allocations: 189.5 kB / 326.5 MB, free: 2.25 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.027/2.027, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001016/0.001016, allocations: 101.5 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 12.94 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00414/0.2562, allocations: 3.472 MB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.4087, allocations: 127.2 MB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.4096, allocations: 15.94 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.4099, allocations: 71.28 kB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.4115, allocations: 419.2 kB / 1.028 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.4132, allocations: 0.5688 MB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.4143, allocations: 0.7207 MB / 1.029 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.415, allocations: 459 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.4155, allocations: 290.7 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.4159, allocations: 284.2 kB / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.4159, allocations: 20 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006249/0.4166, allocations: 239.8 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.4167, allocations: 159.3 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.4169, allocations: 181.1 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.418, allocations: 0.9978 MB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.418, allocations: 0 / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.418, allocations: 0 / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4181, allocations: 0 / 1.032 GB, free: 8.488 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002014/0.4201, allocations: 1.108 MB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4201, allocations: 12.03 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.4203, allocations: 134.6 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008574/0.4212, allocations: 178.7 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4222, allocations: 0.6719 MB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.4223, allocations: 62 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.4224, allocations: 72 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.4238, allocations: 0.8325 MB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4238, allocations: 0 / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/0.4239, allocations: 32 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.424, allocations: 27.89 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.4255, allocations: 1.05 MB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.4293, allocations: 2.356 MB / 1.038 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.4306, allocations: 0.711 MB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.4307, allocations: 24.69 kB / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007438/0.4314, allocations: 423.1 kB / 1.04 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 2.975e-06/0.4314, allocations: 3.938 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.00282/0.4343, allocations: 1.073 MB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.4344, allocations: 192.6 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.4351, allocations: 0.5665 MB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.4352, allocations: 37.7 kB / 1.041 GB, free: 14.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.4355, allocations: 376.2 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.4357, allocations: 232.7 kB / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.4357, allocations: 8 kB / 1.042 GB, free: 14.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4359, allocations: 378.8 kB / 1.042 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.4363, allocations: 221.2 kB / 1.042 GB, free: 13.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.4368, allocations: 314.7 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.4373, allocations: 259.1 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4373, allocations: 0 / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001624/0.439, allocations: 0.7159 MB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.439, allocations: 8.016 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.439, allocations: 4 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.4396, allocations: 80.77 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.4402, allocations: 139.8 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.4422, allocations: 1.528 MB / 1.045 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.4428, allocations: 84.05 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.4429, allocations: 27.98 kB / 1.046 GB, free: 10.1 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 (75): * Single equations (assignments): 74 * 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.0004595/0.4433, allocations: 241.7 kB / 1.046 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4435, allocations: 79.09 kB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.4457, allocations: 0.9743 MB / 1.047 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4457, allocations: 11.98 kB / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4457, allocations: 0 / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4457, allocations: 3.984 kB / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4468, allocations: 0.8177 MB / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4469, allocations: 0 / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.4474, allocations: 139.8 kB / 1.048 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/0.4479, allocations: 88.77 kB / 1.048 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.448, allocations: 19.98 kB / 1.048 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.4499, allocations: 1.571 MB / 1.049 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4499, allocations: 0 / 1.049 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.4518, allocations: 0.8342 MB / 1.05 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.4522, allocations: 259.8 kB / 1.05 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.4523, allocations: 16 kB / 1.05 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.4529, allocations: 70.12 kB / 1.051 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.453, allocations: 64.86 kB / 1.051 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.4531, allocations: 27.98 kB / 1.051 GB, free: 4.641 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005887/0.4537, allocations: 411.1 kB / 1.051 GB, free: 4.246 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4537, allocations: 0 / 1.051 GB, free: 4.246 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000786/0.4545, allocations: 259.3 kB / 1.051 GB, free: 3.992 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 (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.003111/0.4576, allocations: 1.826 MB / 1.053 GB, free: 2.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.4591, allocations: 0.7082 MB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4591, allocations: 4.188 kB / 1.054 GB, free: 1.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.4599, allocations: 488.3 kB / 1.054 GB, free: 1.082 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.461, allocations: 236.1 kB / 1.054 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4315/0.8925, allocations: 4.951 MB / 1.059 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.893, allocations: 1.013 MB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009234/0.894, allocations: 245.4 kB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.8945, allocations: 338.2 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/0.8945, allocations: 0 / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.9478, allocations: 19.09 MB / 1.079 GB, free: 145.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.9481, allocations: 310.2 kB / 1.08 GB, free: 144.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.598, allocations: 0 / 1.08 GB, free: 144.9 MB / 0.698 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)