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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001206/0.001207, allocations: 108 kB / 15.61 MB, free: 152 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.00116/0.00116, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.163/1.163, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.026/2.026, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4868, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004355/0.4912, allocations: 4.416 MB / 0.954 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.6236, allocations: 150.6 MB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.6244, allocations: 19.94 kB / 1.101 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.6248, allocations: 178.3 kB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.6262, allocations: 0.4964 MB / 1.102 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.6278, allocations: 0.8601 MB / 1.103 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009535/0.6288, allocations: 1.324 MB / 1.104 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.6295, allocations: 0.6986 MB / 1.105 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.63, allocations: 0.4905 MB / 1.105 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.6305, allocations: 0.525 MB / 1.106 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.6306, allocations: 124 kB / 1.106 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.6312, allocations: 499.6 kB / 1.106 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.6315, allocations: 315 kB / 1.107 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.6319, allocations: 0.579 MB / 1.107 GB, free: 120 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.6332, allocations: 1.679 MB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.6332, allocations: 0 / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6332, allocations: 0 / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.6332, allocations: 0 / 1.109 GB, free: 14.43 MB / 0.8731 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.002058/0.6353, allocations: 1.492 MB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.6353, allocations: 8.031 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.6355, allocations: 156.2 kB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.6365, allocations: 211.3 kB / 1.111 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.6373, allocations: 0.7614 MB / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.6374, allocations: 70 kB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.6375, allocations: 96 kB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6389, allocations: 1.016 MB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.639, allocations: 0 / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/0.639, allocations: 43.98 kB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.6391, allocations: 24 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.6407, allocations: 1.171 MB / 1.114 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.6441, allocations: 2.707 MB / 1.116 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6456, allocations: 0.9001 MB / 1.117 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.6462, allocations: 326.7 kB / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.6467, allocations: 474.1 kB / 1.118 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.6476, allocations: 0.4914 MB / 1.118 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.004e-06/0.6476, allocations: 7.875 kB / 1.118 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002847/0.6504, allocations: 1.225 MB / 1.12 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.6505, allocations: 192.6 kB / 1.12 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.6512, allocations: 0.6372 MB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.6512, allocations: 41.7 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.6515, allocations: 428.2 kB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.6517, allocations: 268.1 kB / 1.121 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.6519, allocations: 154.5 kB / 1.121 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.652, allocations: 386.8 kB / 1.122 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.6525, allocations: 257.8 kB / 1.122 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.6531, allocations: 366.5 kB / 1.122 GB, free: 108 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.6542, allocations: 0.5994 MB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6542, allocations: 0 / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001718/0.6559, allocations: 0.8252 MB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6559, allocations: 8 kB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6559, allocations: 3.984 kB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.6565, allocations: 80.88 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.6571, allocations: 155.8 kB / 1.124 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.6589, allocations: 1.63 MB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.6595, allocations: 91.78 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.6595, allocations: 31.97 kB / 1.126 GB, free: 12.52 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.0003112/0.6598, allocations: 273.6 kB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.66, allocations: 91.02 kB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.6622, allocations: 1.097 MB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6622, allocations: 12 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6622, allocations: 0 / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.6623, allocations: 7.969 kB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.6651, allocations: 2.021 MB / 1.129 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6652, allocations: 48 / 1.129 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.6657, allocations: 147.8 kB / 1.129 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.6661, allocations: 80.78 kB / 1.129 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.6662, allocations: 23.98 kB / 1.129 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.6678, allocations: 1.654 MB / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6678, allocations: 0 / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6696, allocations: 1.019 MB / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.6699, allocations: 279.7 kB / 1.132 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.67, allocations: 24.06 kB / 1.132 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.6706, allocations: 63.92 kB / 1.132 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6708, allocations: 80.83 kB / 1.132 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.6709, allocations: 31.98 kB / 1.132 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004733/0.6713, allocations: 463 kB / 1.133 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6713, allocations: 8 kB / 1.133 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006769/0.672, allocations: 331.2 kB / 1.133 GB, free: 4.586 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.003148/0.6752, allocations: 2.094 MB / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.6772, allocations: 1.022 MB / 1.136 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6773, allocations: 3.938 kB / 1.136 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.6781, allocations: 0.5393 MB / 1.137 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.6792, allocations: 287.9 kB / 1.137 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009897/0.6891, allocations: 6.762 MB / 1.144 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.6896, allocations: 1.035 MB / 1.145 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007431/0.6904, allocations: 270.7 kB / 1.145 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/0.6909, allocations: 407.3 kB / 1.145 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/0.6909, allocations: 4 kB / 1.145 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.7343, allocations: 21.67 MB / 1.166 GB, free: 2.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/10.73, allocations: 3.375 kB / 1.166 GB, free: 2.836 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)