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.001454/0.001455, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001714/0.001714, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 282.9 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.892/0.892, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 87.86 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 86.98 MB / 0.6797 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005491/0.1353, allocations: 4.355 MB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4274/0.5628, allocations: 148.3 MB / 0.8288 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.5635, allocations: 15.22 kB / 0.8288 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.564, allocations: 135.2 kB / 0.829 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.5655, allocations: 452.3 kB / 0.8294 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.5671, allocations: 0.7372 MB / 0.8301 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.5683, allocations: 1.294 MB / 0.8314 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.5692, allocations: 0.6097 MB / 0.832 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006113/0.5698, allocations: 468.8 kB / 0.8324 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.5704, allocations: 497.3 kB / 0.8329 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.5706, allocations: 119.2 kB / 0.833 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.5714, allocations: 458.4 kB / 0.8334 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.5717, allocations: 293.3 kB / 0.8337 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.5723, allocations: 0.5434 MB / 0.8343 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.5738, allocations: 1.558 MB / 0.8358 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5738, allocations: 0.875 kB / 0.8358 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5738, allocations: 0 / 0.8358 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.089e-05/0.5739, allocations: 1.031 kB / 0.8358 GB, free: 15.59 MB / 0.5762 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.002867/0.5768, allocations: 1.421 MB / 0.8372 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5768, allocations: 10.5 kB / 0.8372 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.577, allocations: 134.4 kB / 0.8373 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009604/0.5779, allocations: 182 kB / 0.8375 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.5789, allocations: 0.7357 MB / 0.8382 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.579, allocations: 68 kB / 0.8383 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5791, allocations: 78.31 kB / 0.8383 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.5805, allocations: 0.9155 MB / 0.8392 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5806, allocations: 1.375 kB / 0.8392 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.926e-05/0.5806, allocations: 35.56 kB / 0.8393 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5807, allocations: 20.62 kB / 0.8393 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.5822, allocations: 1.101 MB / 0.8404 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.5858, allocations: 2.505 MB / 0.8428 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.5871, allocations: 0.7899 MB / 0.8436 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.5876, allocations: 298.4 kB / 0.8439 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/0.5877, allocations: 33.28 kB / 0.8439 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008391/0.5885, allocations: 0.4903 MB / 0.8444 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.994e-06/0.5886, allocations: 0 / 0.8444 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003025/0.5916, allocations: 1.176 MB / 0.8455 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.5917, allocations: 197.7 kB / 0.8457 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.5924, allocations: 0.6302 MB / 0.8463 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.5924, allocations: 43.08 kB / 0.8464 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5927, allocations: 400.2 kB / 0.8467 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.5929, allocations: 257.9 kB / 0.847 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.5931, allocations: 147.1 kB / 0.8471 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5933, allocations: 390.2 kB / 0.8475 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.5938, allocations: 243 kB / 0.8477 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.5943, allocations: 355.8 kB / 0.8481 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.5953, allocations: 0.5798 MB / 0.8486 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5953, allocations: 0 / 0.8486 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001765/0.5971, allocations: 0.8047 MB / 0.8494 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5971, allocations: 5.688 kB / 0.8494 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5971, allocations: 2.094 kB / 0.8494 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.5977, allocations: 84.03 kB / 0.8495 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.5983, allocations: 156.3 kB / 0.8497 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.6003, allocations: 1.623 MB / 0.8513 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.601, allocations: 94.23 kB / 0.8513 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.601, allocations: 34.38 kB / 0.8514 GB, free: 6.602 MB / 0.5762 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.0003363/0.6014, allocations: 270.5 kB / 0.8516 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6015, allocations: 78 kB / 0.8517 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.6038, allocations: 1.066 MB / 0.8527 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6038, allocations: 10.22 kB / 0.8528 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6038, allocations: 4 kB / 0.8528 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6038, allocations: 7.922 kB / 0.8528 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.6048, allocations: 0.8915 MB / 0.8536 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6048, allocations: 0 / 0.8536 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.6053, allocations: 146.3 kB / 0.8538 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.6058, allocations: 70.47 kB / 0.8538 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.6058, allocations: 27.78 kB / 0.8539 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.6076, allocations: 1.664 MB / 0.8555 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6077, allocations: 0 / 0.8555 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.6095, allocations: 0.9223 MB / 0.8564 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.6098, allocations: 271.8 kB / 0.8567 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6099, allocations: 17.12 kB / 0.8567 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/0.6106, allocations: 58.03 kB / 0.8567 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6107, allocations: 80.17 kB / 0.8568 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.6108, allocations: 30.3 kB / 0.8568 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004842/0.6113, allocations: 468.8 kB / 0.8573 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6113, allocations: 0 / 0.8573 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007039/0.612, allocations: 309.4 kB / 0.8576 GB, free: 2.191 MB / 0.5762 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.003264/0.6153, allocations: 1.981 MB / 0.8595 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.6173, allocations: 0.9895 MB / 0.8605 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.6173, allocations: 2.438 kB / 0.8605 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.6182, allocations: 0.5166 MB / 0.861 GB, free: 244 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.6193, allocations: 282.1 kB / 0.8613 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6308, allocations: 6.813 MB / 0.8679 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.6313, allocations: 1.025 MB / 0.8689 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.6321, allocations: 275.4 kB / 0.8692 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/0.6327, allocations: 377.2 kB / 0.8695 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6327, allocations: 0 / 0.8695 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/0.6758, allocations: 20.68 MB / 0.8897 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.6761, allocations: 340.8 kB / 0.89 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.119, allocations: 2.812 kB / 0.8901 GB, free: 7.691 MB / 0.6075 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)