Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001131/0.001131, allocations: 193.9 kB / 16.14 MB, free: 6.707 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 282.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8555/0.8555, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 92.36 kB / 0.5946 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 86.98 MB / 0.6795 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.0049/0.1177, allocations: 4.741 MB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3476/0.4653, allocations: 148.4 MB / 0.8291 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000676/0.466, allocations: 24.66 kB / 0.8291 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4666, allocations: 154.4 kB / 0.8292 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4678, allocations: 454.4 kB / 0.8297 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4692, allocations: 0.7403 MB / 0.8304 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.47, allocations: 1.349 MB / 0.8317 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.4709, allocations: 0.8981 MB / 0.8326 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.4713, allocations: 0.5055 MB / 0.8331 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.4717, allocations: 0.5932 MB / 0.8337 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.4718, allocations: 86.47 kB / 0.8337 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.4724, allocations: 428 kB / 0.8341 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.4726, allocations: 313 kB / 0.8344 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.4731, allocations: 0.6317 MB / 0.8351 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.4743, allocations: 1.866 MB / 0.8369 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4743, allocations: 1.438 kB / 0.8369 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.02e-07/0.4743, allocations: 4 kB / 0.8369 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.4743, allocations: 0 / 0.8369 GB, free: 15.52 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002389/0.4767, allocations: 1.681 MB / 0.8385 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.4768, allocations: 9.094 kB / 0.8385 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.4769, allocations: 179.3 kB / 0.8387 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008222/0.4778, allocations: 227.1 kB / 0.8389 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.4787, allocations: 0.847 MB / 0.8398 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.4787, allocations: 89.28 kB / 0.8398 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.4789, allocations: 114.2 kB / 0.8399 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.4805, allocations: 1.203 MB / 0.8411 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4806, allocations: 0 / 0.8411 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.4807, allocations: 54.05 kB / 0.8412 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.4807, allocations: 32.86 kB / 0.8412 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.4825, allocations: 1.286 MB / 0.8425 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.4862, allocations: 3.158 MB / 0.8455 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.4876, allocations: 0.8707 MB / 0.8464 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.488, allocations: 323.4 kB / 0.8467 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.778e-05/0.4881, allocations: 33.56 kB / 0.8467 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007883/0.4889, allocations: 0.5163 MB / 0.8472 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 1.874e-06/0.4889, allocations: 1.875 kB / 0.8472 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.002813/0.4917, allocations: 1.277 MB / 0.8485 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.4918, allocations: 195 kB / 0.8487 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.4925, allocations: 0.7314 MB / 0.8494 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.4926, allocations: 42.73 kB / 0.8494 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.4929, allocations: 0.5153 MB / 0.8499 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.4931, allocations: 291.3 kB / 0.8502 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.4933, allocations: 156.2 kB / 0.8504 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.4934, allocations: 341.3 kB / 0.8507 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.4938, allocations: 269.8 kB / 0.8509 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.4944, allocations: 383.8 kB / 0.8513 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.4954, allocations: 0.6313 MB / 0.8519 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4954, allocations: 0 / 0.8519 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001667/0.4971, allocations: 0.8711 MB / 0.8528 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4971, allocations: 4.312 kB / 0.8528 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4971, allocations: 3.281 kB / 0.8528 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.4976, allocations: 83.53 kB / 0.8529 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.4982, allocations: 167.2 kB / 0.853 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.4999, allocations: 1.512 MB / 0.8545 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.5005, allocations: 104.5 kB / 0.8546 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.5005, allocations: 30.92 kB / 0.8546 GB, free: 4.172 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 (96): * Single equations (assignments): 95 * 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.0003366/0.5009, allocations: 296.7 kB / 0.8549 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.501, allocations: 96.56 kB / 0.855 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.5032, allocations: 1.128 MB / 0.8561 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5032, allocations: 10.09 kB / 0.8561 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5032, allocations: 0 / 0.8561 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5032, allocations: 6.234 kB / 0.8561 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.5041, allocations: 1.056 MB / 0.8572 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5041, allocations: 1.5 kB / 0.8572 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.5047, allocations: 153.7 kB / 0.8573 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.5052, allocations: 84.02 kB / 0.8574 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.5052, allocations: 25.58 kB / 0.8574 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.5067, allocations: 1.554 MB / 0.8589 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5067, allocations: 0 / 0.8589 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5085, allocations: 0.9817 MB / 0.8599 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.5088, allocations: 285.7 kB / 0.8602 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5089, allocations: 27.77 kB / 0.8602 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.5095, allocations: 62.16 kB / 0.8602 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.5096, allocations: 76.08 kB / 0.8603 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.5097, allocations: 38.25 kB / 0.8603 GB, free: 20 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005106/0.5102, allocations: 0.5144 MB / 0.8609 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5102, allocations: 0 / 0.8609 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000663/0.5109, allocations: 358.7 kB / 0.8612 GB, free: 15.62 MB / 0.5919 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 (98): * Single equations (assignments): 92 * 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.003002/0.5139, allocations: 2.047 MB / 0.8632 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.5153, allocations: 0.8512 MB / 0.864 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5153, allocations: 0 / 0.864 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.5161, allocations: 0.5436 MB / 0.8646 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.5171, allocations: 280.7 kB / 0.8648 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5283, allocations: 7.986 MB / 0.8726 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.5288, allocations: 1.112 MB / 0.8737 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.5295, allocations: 273.5 kB / 0.874 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.53, allocations: 484.9 kB / 0.8744 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.53, allocations: 0 / 0.8744 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.138/8.668, allocations: 22.27 MB / 0.8962 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/8.669, allocations: 317.6 kB / 0.8965 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/23.24, allocations: 2.672 kB / 0.8965 GB, free: 1.008 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)