Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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.001242/0.001242, 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.001184/0.001184, allocations: 192.7 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.408/2.408, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.56 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2194, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005397/0.2249, allocations: 5.176 MB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1239/0.3488, allocations: 150.7 MB / 1.205 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.3495, allocations: 19.94 kB / 1.205 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.3501, allocations: 194.1 kB / 1.205 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.3517, allocations: 0.5656 MB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3534, allocations: 0.8568 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.3547, allocations: 1.444 MB / 1.208 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008051/0.3555, allocations: 0.6561 MB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.3561, allocations: 0.5139 MB / 1.209 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.3568, allocations: 0.5445 MB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.357, allocations: 128 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.3577, allocations: 499.6 kB / 1.21 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.358, allocations: 314.9 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.3585, allocations: 0.6064 MB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.36, allocations: 1.71 MB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.36, allocations: 0 / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.36, allocations: 0 / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.255e-05/0.3601, allocations: 0 / 1.213 GB, free: 3.777 MB / 0.9669 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.002355/0.3624, allocations: 1.512 MB / 1.214 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3625, allocations: 12.62 kB / 1.214 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.3626, allocations: 148.2 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009925/0.3636, allocations: 219.2 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.3646, allocations: 0.7536 MB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.3646, allocations: 77.94 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.3647, allocations: 91.94 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.3661, allocations: 1.012 MB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3662, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.063e-05/0.3663, allocations: 47.98 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.3663, allocations: 24 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.3679, allocations: 1.179 MB / 1.218 GB, free: 14.57 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.3715, allocations: 2.973 MB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.373, allocations: 0.9121 MB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.3735, allocations: 322.6 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/0.3741, allocations: 470.1 kB / 1.222 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.3748, allocations: 0.4991 MB / 1.223 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.813e-06/0.3749, allocations: 0 / 1.223 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002905/0.3778, allocations: 1.244 MB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.3778, allocations: 192.5 kB / 1.224 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.3785, allocations: 0.6372 MB / 1.225 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.3786, allocations: 41.7 kB / 1.225 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.3788, allocations: 424.2 kB / 1.225 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.379, allocations: 272.2 kB / 1.226 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3792, allocations: 142.5 kB / 1.226 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3793, allocations: 390.7 kB / 1.226 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.3798, allocations: 257.9 kB / 1.226 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.3804, allocations: 370.5 kB / 1.227 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3814, allocations: 0.6033 MB / 1.227 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3814, allocations: 0 / 1.227 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00171/0.3831, allocations: 0.8331 MB / 1.228 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3832, allocations: 4 kB / 1.228 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3832, allocations: 7.938 kB / 1.228 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.3837, allocations: 80.88 kB / 1.228 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.3843, allocations: 151.8 kB / 1.228 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.386, allocations: 1.637 MB / 1.23 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.3866, allocations: 103.2 kB / 1.23 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.3867, allocations: 27.98 kB / 1.23 GB, free: 1.465 MB / 0.9825 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.0003095/0.387, allocations: 279.3 kB / 1.23 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3872, allocations: 82.97 kB / 1.23 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.3893, allocations: 1.101 MB / 1.232 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3894, allocations: 12 kB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3894, allocations: 0 / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.3894, allocations: 3.984 kB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.3922, allocations: 2.001 MB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3922, allocations: 0 / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3927, allocations: 151.8 kB / 1.234 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.3931, allocations: 68.78 kB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.3932, allocations: 27.98 kB / 1.234 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.3948, allocations: 1.67 MB / 1.235 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3948, allocations: 0 / 1.235 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3966, allocations: 1.016 MB / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.3969, allocations: 279.7 kB / 1.237 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.397, allocations: 19.98 kB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.3976, allocations: 64.88 kB / 1.237 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.3978, allocations: 80.77 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.3978, allocations: 31.98 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000465/0.3983, allocations: 475 kB / 1.237 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 0 / 1.237 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007098/0.399, allocations: 355 kB / 1.238 GB, free: 9.52 MB / 0.9981 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.003138/0.4022, allocations: 2.084 MB / 1.24 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.4042, allocations: 1.023 MB / 1.241 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4042, allocations: 0 / 1.241 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.4051, allocations: 0.5354 MB / 1.241 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.4061, allocations: 295.7 kB / 1.241 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3612/0.7674, allocations: 6.657 MB / 1.248 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.7678, allocations: 1.044 MB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008747/0.7687, allocations: 274.9 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.7691, allocations: 408.9 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.7692, allocations: 3.281 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.546/3.316, allocations: 22.22 MB / 1.271 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/14.61, allocations: 3.281 kB / 1.271 GB, free: 185.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)