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.0009639/0.0009639, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.007385/0.007385, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 274.4 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9218/0.9218, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 13.89 kB / 0.5988 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004382/0.1362, allocations: 4.007 MB / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3892/0.5254, allocations: 146.7 MB / 0.8324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.5258, allocations: 13.56 kB / 0.8324 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.5261, allocations: 145 kB / 0.8326 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000895/0.527, allocations: 431.4 kB / 0.833 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.5282, allocations: 0.7429 MB / 0.8337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009663/0.5292, allocations: 1.232 MB / 0.8349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007612/0.5299, allocations: 0.6704 MB / 0.8356 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.5303, allocations: 351.5 kB / 0.8359 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.5307, allocations: 406.3 kB / 0.8363 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.5307, allocations: 25.72 kB / 0.8363 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.5312, allocations: 391 kB / 0.8367 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.5314, allocations: 191.4 kB / 0.8369 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.5317, allocations: 489.6 kB / 0.8373 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.5329, allocations: 1.553 MB / 0.8389 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5329, allocations: 3.938 kB / 0.8389 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5329, allocations: 0 / 0.8389 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5329, allocations: 0 / 0.8389 GB, free: 8.551 MB / 0.5606 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.001802/0.5347, allocations: 1.273 MB / 0.8401 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.5347, allocations: 10.22 kB / 0.8401 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.5349, allocations: 146 kB / 0.8403 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.5358, allocations: 224.1 kB / 0.8405 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.5367, allocations: 0.7632 MB / 0.8412 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.5367, allocations: 70.38 kB / 0.8413 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5368, allocations: 92.5 kB / 0.8414 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5383, allocations: 1.014 MB / 0.8424 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5383, allocations: 5.25 kB / 0.8424 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.5384, allocations: 40.72 kB / 0.8424 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5384, allocations: 24.62 kB / 0.8424 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.54, allocations: 1.185 MB / 0.8436 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.5434, allocations: 2.74 MB / 0.8463 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5448, allocations: 0.9121 MB / 0.8472 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.5453, allocations: 321.6 kB / 0.8475 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.5459, allocations: 473.3 kB / 0.8479 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007614/0.5467, allocations: 0.5035 MB / 0.8484 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 1.724e-06/0.5467, allocations: 0 / 0.8484 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002688/0.5494, allocations: 1.246 MB / 0.8496 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.5495, allocations: 192 kB / 0.8498 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.5501, allocations: 0.6395 MB / 0.8504 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.5502, allocations: 43.55 kB / 0.8505 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.5504, allocations: 427.6 kB / 0.8509 GB, free: 140 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.5506, allocations: 267.9 kB / 0.8511 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.5507, allocations: 63.41 kB / 0.8512 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5508, allocations: 383.4 kB / 0.8516 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.5513, allocations: 265.5 kB / 0.8518 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.5519, allocations: 380.6 kB / 0.8522 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.5528, allocations: 0.6063 MB / 0.8528 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5528, allocations: 0 / 0.8528 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001609/0.5545, allocations: 0.8329 MB / 0.8536 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5545, allocations: 9.828 kB / 0.8536 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.5545, allocations: 0 / 0.8536 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.555, allocations: 83.31 kB / 0.8537 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.5556, allocations: 157.2 kB / 0.8538 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/0.5845, allocations: 1.523 MB / 0.8553 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5856, allocations: 103.1 kB / 0.8554 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.5857, allocations: 30.5 kB / 0.8554 GB, free: 12.72 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.0005444/0.5862, allocations: 272.9 kB / 0.8557 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.5864, allocations: 84.38 kB / 0.8558 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.5899, allocations: 1.104 MB / 0.8569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.5899, allocations: 18.62 kB / 0.8569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.59, allocations: 0 / 0.8569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.59, allocations: 3.984 kB / 0.8569 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.5947, allocations: 2.027 MB / 0.8589 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5947, allocations: 0 / 0.8589 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.5956, allocations: 154.9 kB / 0.859 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007222/0.5964, allocations: 87.95 kB / 0.8591 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/0.5965, allocations: 27.53 kB / 0.8591 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.599, allocations: 1.541 MB / 0.8606 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.599, allocations: 7.875 kB / 0.8606 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.6019, allocations: 1.019 MB / 0.8616 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.6025, allocations: 291.8 kB / 0.8619 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.6027, allocations: 21.19 kB / 0.8619 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6037, allocations: 84.61 kB / 0.862 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6039, allocations: 73.86 kB / 0.8621 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.6041, allocations: 41.69 kB / 0.8621 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007832/0.6049, allocations: 467.9 kB / 0.8626 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6049, allocations: 0 / 0.8626 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00114/0.606, allocations: 333.8 kB / 0.8629 GB, free: 7.594 MB / 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.005102/0.6111, allocations: 2.107 MB / 0.8649 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.6135, allocations: 0.8222 MB / 0.8657 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6135, allocations: 0 / 0.8657 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.6149, allocations: 0.5334 MB / 0.8663 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6167, allocations: 265.1 kB / 0.8665 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.6359, allocations: 7.265 MB / 0.8736 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/0.6368, allocations: 1.043 MB / 0.8746 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001344/0.6381, allocations: 262.7 kB / 0.8749 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008173/0.639, allocations: 407.3 kB / 0.8753 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 4.9e-07/0.639, allocations: 0 / 0.8753 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.95/2.589, allocations: 20.64 MB / 0.8954 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/2.589, allocations: 320.4 kB / 0.8957 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/4.901, allocations: 3.375 kB / 0.8957 GB, free: 7.637 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)