Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_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.001108/0.001108, 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.001096/0.001096, allocations: 199.2 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.161/1.161, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001958/0.001959, allocations: 280.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8949/0.8949, allocations: 169.2 MB / 0.4977 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 91.72 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005321/0.1337, allocations: 4.415 MB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3863/0.52, allocations: 148.3 MB / 0.8287 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005834/0.5206, allocations: 19.62 kB / 0.8287 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.521, allocations: 131.6 kB / 0.8289 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5221, allocations: 434.9 kB / 0.8293 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.5235, allocations: 0.742 MB / 0.83 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008237/0.5243, allocations: 1.234 MB / 0.8312 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.525, allocations: 0.6881 MB / 0.8319 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.5255, allocations: 444.1 kB / 0.8323 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.5261, allocations: 0.4934 MB / 0.8328 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.5262, allocations: 63.91 kB / 0.8328 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.5269, allocations: 431.6 kB / 0.8332 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.5271, allocations: 258.8 kB / 0.8335 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.5274, allocations: 0.5209 MB / 0.834 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.5286, allocations: 1.616 MB / 0.8356 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5286, allocations: 1.031 kB / 0.8356 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5286, allocations: 0 / 0.8356 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5287, allocations: 0 / 0.8356 GB, free: 15.88 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002355/0.531, allocations: 1.495 MB / 0.837 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5311, allocations: 9.5 kB / 0.8371 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.5312, allocations: 149.2 kB / 0.8372 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5323, allocations: 221.4 kB / 0.8374 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.5332, allocations: 0.7628 MB / 0.8381 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.5332, allocations: 69.75 kB / 0.8382 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.5334, allocations: 92.16 kB / 0.8383 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5349, allocations: 1.016 MB / 0.8393 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5349, allocations: 5.094 kB / 0.8393 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.535, allocations: 40.31 kB / 0.8393 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.535, allocations: 23.19 kB / 0.8394 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.5368, allocations: 1.173 MB / 0.8405 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.5405, allocations: 2.703 MB / 0.8431 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.542, allocations: 0.9164 MB / 0.844 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.5425, allocations: 313.7 kB / 0.8443 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.5432, allocations: 471.7 kB / 0.8448 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008744/0.544, allocations: 0.4985 MB / 0.8453 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.894e-06/0.5441, allocations: 0 / 0.8453 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.002969/0.547, allocations: 1.218 MB / 0.8465 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.5471, allocations: 201.6 kB / 0.8467 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.5478, allocations: 0.6457 MB / 0.8473 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.5479, allocations: 42.98 kB / 0.8473 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.5482, allocations: 424.6 kB / 0.8477 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.5484, allocations: 260.5 kB / 0.848 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.5486, allocations: 149.2 kB / 0.8481 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5487, allocations: 384.7 kB / 0.8485 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.5492, allocations: 262.6 kB / 0.8487 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.5498, allocations: 368.5 kB / 0.8491 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5509, allocations: 0.5974 MB / 0.8497 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5509, allocations: 0 / 0.8497 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001819/0.5527, allocations: 0.8208 MB / 0.8505 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5527, allocations: 11.73 kB / 0.8505 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5528, allocations: 5.625 kB / 0.8505 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.5533, allocations: 83.69 kB / 0.8506 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.554, allocations: 155.3 kB / 0.8507 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.5558, allocations: 1.524 MB / 0.8522 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.5565, allocations: 86.48 kB / 0.8523 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.5565, allocations: 33.22 kB / 0.8523 GB, free: 5.496 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 (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.000343/0.5569, allocations: 273 kB / 0.8526 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.557, allocations: 86.5 kB / 0.8527 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.5593, allocations: 1.096 MB / 0.8537 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.5594, allocations: 9.562 kB / 0.8537 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5594, allocations: 7.875 kB / 0.8538 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5594, allocations: 3.984 kB / 0.8538 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.5624, allocations: 2.016 MB / 0.8557 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5624, allocations: 0 / 0.8557 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.563, allocations: 159 kB / 0.8559 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004826/0.5635, allocations: 83.75 kB / 0.856 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.5635, allocations: 30.03 kB / 0.856 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.5652, allocations: 1.546 MB / 0.8575 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5652, allocations: 3.938 kB / 0.8575 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5671, allocations: 1.01 MB / 0.8585 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.5674, allocations: 282.4 kB / 0.8588 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5675, allocations: 16.91 kB / 0.8588 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.5682, allocations: 73.92 kB / 0.8588 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5684, allocations: 68.83 kB / 0.8589 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.5684, allocations: 34.98 kB / 0.8589 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004826/0.5689, allocations: 470.9 kB / 0.8594 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5689, allocations: 2.281 kB / 0.8594 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007815/0.5697, allocations: 327.6 kB / 0.8597 GB, free: 420 kB / 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.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.003298/0.573, allocations: 2.098 MB / 0.8618 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.5745, allocations: 0.8213 MB / 0.8626 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5745, allocations: 2.188 kB / 0.8626 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.5754, allocations: 0.526 MB / 0.8631 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5765, allocations: 267.5 kB / 0.8633 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.5881, allocations: 7.169 MB / 0.8703 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.5886, allocations: 1.045 MB / 0.8714 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008342/0.5894, allocations: 267 kB / 0.8716 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.59, allocations: 408.4 kB / 0.872 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.59, allocations: 0 / 0.872 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.478/3.068, allocations: 20.93 MB / 0.8924 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/3.068, allocations: 331.8 kB / 0.8928 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/5.787, allocations: 6.406 kB / 0.8928 GB, free: 4.758 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)