Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001167/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001115/0.001115, allocations: 195.1 kB / 16.14 MB, free: 6.652 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4656, allocations: 140.4 MB / 0.949 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00431/0.47, allocations: 4.429 MB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1301/0.6, allocations: 148.3 MB / 1.098 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007033/0.6008, allocations: 15.94 kB / 1.098 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.6013, allocations: 138.9 kB / 1.098 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.6028, allocations: 433.6 kB / 1.099 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.6044, allocations: 0.7543 MB / 1.1 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.6056, allocations: 1.242 MB / 1.101 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.6064, allocations: 0.6662 MB / 1.101 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.607, allocations: 446.2 kB / 1.102 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.6075, allocations: 0.4937 MB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.6076, allocations: 64 kB / 1.102 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.6083, allocations: 427.6 kB / 1.103 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.6086, allocations: 255 kB / 1.103 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.609, allocations: 0.5204 MB / 1.104 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.6104, allocations: 1.62 MB / 1.105 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6104, allocations: 3.938 kB / 1.105 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.52e-07/0.6104, allocations: 4 kB / 1.105 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.6104, allocations: 4 kB / 1.105 GB, free: 1.699 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002302/0.6128, allocations: 1.478 MB / 1.107 GB, free: 180 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.6128, allocations: 8.031 kB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.613, allocations: 156.1 kB / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.614, allocations: 215.5 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.6149, allocations: 0.7691 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.6149, allocations: 74 kB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.615, allocations: 92 kB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6166, allocations: 1.016 MB / 1.109 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.6166, allocations: 7.938 kB / 1.109 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.6167, allocations: 44 kB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.6167, allocations: 24 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.6184, allocations: 1.171 MB / 1.11 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.6219, allocations: 2.702 MB / 1.113 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.6234, allocations: 0.9107 MB / 1.114 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.624, allocations: 306.7 kB / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.6245, allocations: 478.1 kB / 1.114 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/0.6253, allocations: 0.4952 MB / 1.115 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.056e-06/0.6253, allocations: 4 kB / 1.115 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002882/0.6282, allocations: 1.229 MB / 1.116 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.6283, allocations: 192.6 kB / 1.116 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.629, allocations: 0.6372 MB / 1.117 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.629, allocations: 41.7 kB / 1.117 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.6293, allocations: 424.2 kB / 1.117 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.6295, allocations: 268.1 kB / 1.118 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.6297, allocations: 154.5 kB / 1.118 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6298, allocations: 390.8 kB / 1.118 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.6303, allocations: 253.8 kB / 1.118 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.6309, allocations: 366.5 kB / 1.119 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.632, allocations: 0.6033 MB / 1.119 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.632, allocations: 0 / 1.119 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001747/0.6337, allocations: 0.8291 MB / 1.12 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6337, allocations: 4 kB / 1.12 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6337, allocations: 0 / 1.12 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.6343, allocations: 76.88 kB / 1.12 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.6349, allocations: 159.8 kB / 1.12 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.6366, allocations: 1.512 MB / 1.122 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.6372, allocations: 95.52 kB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.6373, allocations: 35.97 kB / 1.122 GB, free: 15.9 MB / 0.8887 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 (88): * Single equations (assignments): 87 * 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.000322/0.6376, allocations: 277.6 kB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.6378, allocations: 82.97 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.64, allocations: 1.093 MB / 1.123 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.6401, allocations: 15.94 kB / 1.123 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.6401, allocations: 4 kB / 1.123 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.6401, allocations: 3.984 kB / 1.123 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.643, allocations: 2.009 MB / 1.125 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.643, allocations: 4 kB / 1.125 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.6436, allocations: 147.8 kB / 1.125 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.6441, allocations: 80.78 kB / 1.125 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.6441, allocations: 27.97 kB / 1.125 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.6457, allocations: 1.555 MB / 1.127 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6457, allocations: 0 / 1.127 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.6476, allocations: 1.012 MB / 1.128 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.6479, allocations: 279.7 kB / 1.128 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.648, allocations: 27.89 kB / 1.128 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/0.6486, allocations: 63.94 kB / 1.128 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.6487, allocations: 68.89 kB / 1.128 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.6488, allocations: 43.91 kB / 1.128 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000469/0.6493, allocations: 467 kB / 1.129 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6493, allocations: 0 / 1.129 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006768/0.65, allocations: 331.2 kB / 1.129 GB, free: 8.078 MB / 0.8887 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.003167/0.6532, allocations: 2.094 MB / 1.131 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.6546, allocations: 0.8156 MB / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6546, allocations: 0 / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.6555, allocations: 0.5239 MB / 1.133 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6565, allocations: 269.5 kB / 1.133 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.6675, allocations: 7.185 MB / 1.14 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.668, allocations: 1.039 MB / 1.141 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007209/0.6687, allocations: 274.6 kB / 1.141 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.6692, allocations: 407.3 kB / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.6692, allocations: 0 / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.508/2.177, allocations: 20.91 MB / 1.162 GB, free: 6.914 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/2.178, allocations: 309.6 kB / 1.162 GB, free: 6.535 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/4.275, allocations: 0 / 1.162 GB, free: 6.535 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)