Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009019/0.0009018, allocations: 187.5 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6192/0.6192, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 12 kB / 496 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1178, allocations: 77.53 MB / 0.56 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004606/0.1225, allocations: 4.411 MB / 0.5644 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.359/0.4815, allocations: 146.7 MB / 0.7076 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006245/0.4822, allocations: 11.94 kB / 0.7076 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.4827, allocations: 150.8 kB / 0.7078 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.4842, allocations: 473.9 kB / 0.7082 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.4858, allocations: 0.7251 MB / 0.7089 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.4871, allocations: 1.273 MB / 0.7102 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.4879, allocations: 0.5517 MB / 0.7107 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.4884, allocations: 346.3 kB / 0.711 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.4889, allocations: 399.5 kB / 0.7114 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.489, allocations: 24 kB / 0.7114 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.4897, allocations: 371.6 kB / 0.7118 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.4899, allocations: 187.1 kB / 0.712 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.4902, allocations: 466.9 kB / 0.7124 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4916, allocations: 1.491 MB / 0.7139 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4917, allocations: 3.938 kB / 0.7139 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4917, allocations: 0 / 0.7139 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.4917, allocations: 4 kB / 0.7139 GB, free: 9.133 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002093/0.4938, allocations: 1.211 MB / 0.7151 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4938, allocations: 8.031 kB / 0.7151 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.494, allocations: 135.3 kB / 0.7152 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008475/0.4949, allocations: 203.3 kB / 0.7154 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.4958, allocations: 0.7461 MB / 0.7161 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.4959, allocations: 58 kB / 0.7162 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.496, allocations: 84 kB / 0.7163 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.4975, allocations: 0.9184 MB / 0.7172 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4975, allocations: 0 / 0.7172 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.4976, allocations: 36 kB / 0.7172 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4976, allocations: 23.94 kB / 0.7172 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.4992, allocations: 1.116 MB / 0.7183 GB, free: 4.473 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.5029, allocations: 2.728 MB / 0.721 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.5043, allocations: 0.8136 MB / 0.7218 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.5048, allocations: 298.6 kB / 0.722 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.5049, allocations: 32.67 kB / 0.7221 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.5057, allocations: 499.1 kB / 0.7225 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 1.944e-06/0.5057, allocations: 4 kB / 0.7226 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.002902/0.5086, allocations: 1.202 MB / 0.7237 GB, free: 14.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.5088, allocations: 200.6 kB / 0.7239 GB, free: 14.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.5095, allocations: 0.6331 MB / 0.7245 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.5096, allocations: 41.7 kB / 0.7246 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.5098, allocations: 388.4 kB / 0.7249 GB, free: 13.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.51, allocations: 260.2 kB / 0.7252 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.5101, allocations: 61.69 kB / 0.7253 GB, free: 13.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5103, allocations: 390.7 kB / 0.7256 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.5107, allocations: 253.9 kB / 0.7259 GB, free: 12.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.5113, allocations: 362.5 kB / 0.7262 GB, free: 12.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.5123, allocations: 0.5916 MB / 0.7268 GB, free: 11.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5123, allocations: 4 kB / 0.7268 GB, free: 11.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001706/0.514, allocations: 0.8136 MB / 0.7276 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.514, allocations: 4 kB / 0.7276 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5141, allocations: 4 kB / 0.7276 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005589/0.5146, allocations: 84.83 kB / 0.7277 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.5152, allocations: 159.7 kB / 0.7278 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.5171, allocations: 1.52 MB / 0.7293 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.5177, allocations: 104.9 kB / 0.7294 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.5178, allocations: 28.86 kB / 0.7294 GB, free: 8.609 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.5182, allocations: 262.3 kB / 0.7297 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5183, allocations: 86.98 kB / 0.7298 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.5205, allocations: 1.064 MB / 0.7308 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5206, allocations: 16 kB / 0.7308 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.5206, allocations: 3.938 kB / 0.7308 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5206, allocations: 7.969 kB / 0.7308 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.5215, allocations: 0.8922 MB / 0.7317 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5215, allocations: 0 / 0.7317 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.5221, allocations: 147.8 kB / 0.7319 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/0.5226, allocations: 84.78 kB / 0.7319 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.5227, allocations: 27.97 kB / 0.732 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5243, allocations: 1.548 MB / 0.7335 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5244, allocations: 3.938 kB / 0.7335 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.5262, allocations: 0.9279 MB / 0.7344 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.5265, allocations: 287.5 kB / 0.7347 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5266, allocations: 27.98 kB / 0.7347 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.5272, allocations: 79.94 kB / 0.7348 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.5274, allocations: 72.89 kB / 0.7348 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.5275, allocations: 27.98 kB / 0.7349 GB, free: 2.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000502/0.528, allocations: 463 kB / 0.7353 GB, free: 2.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.528, allocations: 0 / 0.7353 GB, free: 2.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006772/0.5286, allocations: 315.3 kB / 0.7356 GB, free: 2.051 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003162/0.5318, allocations: 1.979 MB / 0.7375 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.5333, allocations: 0.8084 MB / 0.7383 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5333, allocations: 4 kB / 0.7383 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008356/0.5341, allocations: 0.5159 MB / 0.7388 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5353, allocations: 281.8 kB / 0.7391 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5456, allocations: 6.776 MB / 0.7457 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.5463, allocations: 1.023 MB / 0.7467 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008518/0.5472, allocations: 254.7 kB / 0.747 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.5477, allocations: 379.3 kB / 0.7473 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5477, allocations: 0 / 0.7473 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09862/0.6463, allocations: 20.16 MB / 0.767 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.6466, allocations: 311.8 kB / 0.7673 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.949, allocations: 7.938 kB / 0.7673 GB, free: 1.949 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)