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.001153/0.001153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00114/0.00114, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001881/0.001881, allocations: 279.1 kB / 290.3 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8927/0.8927, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 97.03 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004943/0.1266, allocations: 4.433 MB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3586/0.4853, allocations: 148.4 MB / 0.829 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006142/0.4859, allocations: 18.62 kB / 0.829 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.4864, allocations: 135.2 kB / 0.8291 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.4878, allocations: 452.4 kB / 0.8296 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.4893, allocations: 0.7666 MB / 0.8303 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.4905, allocations: 1.326 MB / 0.8316 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.4912, allocations: 0.7056 MB / 0.8323 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.4916, allocations: 0.4993 MB / 0.8328 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.492, allocations: 0.523 MB / 0.8333 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.4921, allocations: 125.9 kB / 0.8334 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.4928, allocations: 496 kB / 0.8339 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.4931, allocations: 318.7 kB / 0.8342 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.4934, allocations: 0.5839 MB / 0.8348 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.4946, allocations: 1.671 MB / 0.8364 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4947, allocations: 0 / 0.8364 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.576e-06/0.4947, allocations: 1.906 kB / 0.8364 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.4947, allocations: 3.938 kB / 0.8364 GB, free: 15.5 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.002064/0.4968, allocations: 1.48 MB / 0.8378 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4968, allocations: 12.25 kB / 0.8379 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.4969, allocations: 154.8 kB / 0.838 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009528/0.4979, allocations: 217.6 kB / 0.8382 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.4987, allocations: 0.7595 MB / 0.8389 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.4988, allocations: 77.28 kB / 0.839 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4989, allocations: 91.97 kB / 0.8391 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.5003, allocations: 1.012 MB / 0.8401 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.5004, allocations: 5.312 kB / 0.8401 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.5004, allocations: 42.66 kB / 0.8401 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5005, allocations: 27.31 kB / 0.8402 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.5021, allocations: 1.177 MB / 0.8413 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.5055, allocations: 2.698 MB / 0.844 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5069, allocations: 0.9087 MB / 0.8448 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.5074, allocations: 318.7 kB / 0.8451 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/0.5079, allocations: 475.5 kB / 0.8456 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008258/0.5088, allocations: 0.4953 MB / 0.8461 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.924e-06/0.5088, allocations: 0 / 0.8461 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.002788/0.5116, allocations: 1.225 MB / 0.8473 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.5117, allocations: 194.6 kB / 0.8475 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.5123, allocations: 0.6452 MB / 0.8481 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.5124, allocations: 42.42 kB / 0.8481 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5126, allocations: 424.9 kB / 0.8485 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.5128, allocations: 266.1 kB / 0.8488 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.513, allocations: 153.4 kB / 0.8489 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5131, allocations: 384 kB / 0.8493 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.5136, allocations: 250.3 kB / 0.8495 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.5141, allocations: 372.6 kB / 0.8499 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.5151, allocations: 0.6056 MB / 0.8505 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5151, allocations: 0 / 0.8505 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00167/0.5168, allocations: 0.8211 MB / 0.8513 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5168, allocations: 5.969 kB / 0.8513 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.5168, allocations: 1.406 kB / 0.8513 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.5174, allocations: 87.33 kB / 0.8514 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.5179, allocations: 156.6 kB / 0.8515 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5197, allocations: 1.629 MB / 0.8531 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.5203, allocations: 92.23 kB / 0.8532 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.5204, allocations: 32.12 kB / 0.8532 GB, free: 5.223 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.0003092/0.5207, allocations: 273.2 kB / 0.8535 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5208, allocations: 84.06 kB / 0.8536 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.523, allocations: 1.099 MB / 0.8547 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.523, allocations: 14.19 kB / 0.8547 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.523, allocations: 0 / 0.8547 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.523, allocations: 3.984 kB / 0.8547 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.5258, allocations: 2.02 MB / 0.8566 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5259, allocations: 0 / 0.8566 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.5264, allocations: 156 kB / 0.8568 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.5268, allocations: 72.08 kB / 0.8569 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.5269, allocations: 30.09 kB / 0.8569 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.5285, allocations: 1.657 MB / 0.8585 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5285, allocations: 3.984 kB / 0.8585 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5303, allocations: 1.018 MB / 0.8595 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.5305, allocations: 282.3 kB / 0.8598 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.5307, allocations: 16.72 kB / 0.8598 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.5313, allocations: 64.61 kB / 0.8599 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5314, allocations: 69.62 kB / 0.8599 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.5315, allocations: 35.03 kB / 0.86 GB, free: 416 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004449/0.5319, allocations: 475.6 kB / 0.8604 GB, free: 136 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.532, allocations: 7.688 kB / 0.8604 GB, free: 132 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007348/0.5327, allocations: 336.8 kB / 0.8607 GB, free: 24 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.00309/0.5358, allocations: 2.092 MB / 0.8628 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.5378, allocations: 1.026 MB / 0.8638 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5378, allocations: 4 kB / 0.8638 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008188/0.5386, allocations: 0.5234 MB / 0.8643 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5397, allocations: 294.1 kB / 0.8646 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.5503, allocations: 7.172 MB / 0.8716 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.5508, allocations: 1.04 MB / 0.8726 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007288/0.5515, allocations: 274.9 kB / 0.8729 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.552, allocations: 415.9 kB / 0.8733 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.552, allocations: 0 / 0.8733 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.734/2.286, allocations: 21.52 MB / 0.8943 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004031/2.286, allocations: 331.9 kB / 0.8946 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/12.69, allocations: 0 / 0.8946 GB, free: 2.988 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)