Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_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.00727/0.00727, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 284.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 91.84 kB / 0.6809 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.37, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005758/0.3758, allocations: 4.33 MB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1585/0.5344, allocations: 150.6 MB / 0.9172 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.535, allocations: 15.94 kB / 0.9172 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.5355, allocations: 170.4 kB / 0.9173 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.5369, allocations: 0.5046 MB / 0.9178 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.5386, allocations: 0.8234 MB / 0.9186 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.5398, allocations: 1.293 MB / 0.9199 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.5406, allocations: 0.6101 MB / 0.9205 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005226/0.5412, allocations: 474.3 kB / 0.9209 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.5417, allocations: 497.8 kB / 0.9214 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.5418, allocations: 112 kB / 0.9215 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007559/0.5426, allocations: 491.6 kB / 0.922 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.5429, allocations: 291.1 kB / 0.9223 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.5433, allocations: 0.5362 MB / 0.9228 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.545, allocations: 1.604 MB / 0.9244 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.545, allocations: 0 / 0.9244 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.192e-06/0.545, allocations: 0 / 0.9244 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.545, allocations: 4 kB / 0.9244 GB, free: 0.9336 MB / 0.6856 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.002325/0.5473, allocations: 1.455 MB / 0.9258 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5474, allocations: 8.031 kB / 0.9258 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5475, allocations: 135.4 kB / 0.9259 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.5484, allocations: 192 kB / 0.9261 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5495, allocations: 0.7699 MB / 0.9269 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.5496, allocations: 62 kB / 0.9269 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5497, allocations: 80 kB / 0.927 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.5512, allocations: 0.9222 MB / 0.9279 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5512, allocations: 0 / 0.9279 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/0.5513, allocations: 32 kB / 0.9279 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5513, allocations: 24 kB / 0.9279 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.553, allocations: 1.104 MB / 0.929 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/0.5567, allocations: 2.458 MB / 0.9314 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.5581, allocations: 0.7985 MB / 0.9322 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.5587, allocations: 302.7 kB / 0.9325 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.5587, allocations: 28.69 kB / 0.9325 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/0.5595, allocations: 491.2 kB / 0.933 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 1.933e-06/0.5596, allocations: 0 / 0.933 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.003075/0.5626, allocations: 1.19 MB / 0.9341 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.5628, allocations: 192.6 kB / 0.9343 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.5635, allocations: 0.637 MB / 0.935 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.694e-05/0.5636, allocations: 45.64 kB / 0.935 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.5639, allocations: 401 kB / 0.9354 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5641, allocations: 269.7 kB / 0.9356 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.5643, allocations: 146.6 kB / 0.9358 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5645, allocations: 394.6 kB / 0.9362 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.565, allocations: 241.9 kB / 0.9364 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.5656, allocations: 362.5 kB / 0.9367 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5667, allocations: 0.5799 MB / 0.9373 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5667, allocations: 0 / 0.9373 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001807/0.5685, allocations: 0.7985 MB / 0.9381 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5685, allocations: 4 kB / 0.9381 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5685, allocations: 7.984 kB / 0.9381 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.5691, allocations: 88.72 kB / 0.9382 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.5697, allocations: 147.8 kB / 0.9383 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.5719, allocations: 1.627 MB / 0.9399 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.5725, allocations: 90.11 kB / 0.94 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.5725, allocations: 28.05 kB / 0.94 GB, free: 376 kB / 0.7012 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.0003722/0.5729, allocations: 279.9 kB / 0.9403 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.5731, allocations: 87.44 kB / 0.9404 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.5754, allocations: 1.058 MB / 0.9414 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5754, allocations: 8 kB / 0.9414 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5754, allocations: 3.938 kB / 0.9414 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5754, allocations: 3.984 kB / 0.9414 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5764, allocations: 0.8919 MB / 0.9423 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5764, allocations: 0 / 0.9423 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.577, allocations: 147.7 kB / 0.9424 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.5774, allocations: 68.78 kB / 0.9425 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.5775, allocations: 27.98 kB / 0.9425 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.5794, allocations: 1.662 MB / 0.9441 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5794, allocations: 0 / 0.9441 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.5814, allocations: 0.9322 MB / 0.9451 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.5817, allocations: 272.2 kB / 0.9453 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.5818, allocations: 23.88 kB / 0.9453 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.5824, allocations: 63.92 kB / 0.9454 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.5825, allocations: 72.84 kB / 0.9455 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.5826, allocations: 35.97 kB / 0.9455 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005328/0.5832, allocations: 463 kB / 0.9459 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5832, allocations: 4 kB / 0.9459 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007986/0.584, allocations: 299.2 kB / 0.9462 GB, free: 9.742 MB / 0.7169 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.003798/0.5878, allocations: 1.987 MB / 0.9482 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.5893, allocations: 0.8 MB / 0.949 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5893, allocations: 0 / 0.949 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008953/0.5902, allocations: 0.5082 MB / 0.9494 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5913, allocations: 296.2 kB / 0.9497 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2856/0.8769, allocations: 6.247 MB / 0.9558 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.8776, allocations: 1.02 MB / 0.9568 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009347/0.8785, allocations: 255.2 kB / 0.9571 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.879, allocations: 378.7 kB / 0.9574 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.879, allocations: 0.6562 kB / 0.9574 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5963/1.475, allocations: 21.11 MB / 0.978 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.72, allocations: 14.25 kB / 0.9781 GB, free: 175 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)