Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_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.001269/0.00127, allocations: 104.5 kB / 16.4 MB, free: 6.461 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.001182/0.001182, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6601/0.6601, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 64.58 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1142, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005777/0.12, allocations: 5.139 MB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4278/0.5478, allocations: 150.7 MB / 0.7838 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.5486, allocations: 20.09 kB / 0.7838 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.5491, allocations: 200.2 kB / 0.784 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.5505, allocations: 0.5646 MB / 0.7845 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.552, allocations: 0.8717 MB / 0.7854 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.553, allocations: 1.448 MB / 0.7868 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007143/0.5537, allocations: 0.6582 MB / 0.7874 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.5543, allocations: 0.5218 MB / 0.788 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.5548, allocations: 0.5441 MB / 0.7885 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5549, allocations: 125.4 kB / 0.7886 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.5557, allocations: 0.5063 MB / 0.7891 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.5559, allocations: 316.1 kB / 0.7894 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.5564, allocations: 0.6097 MB / 0.79 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.5578, allocations: 1.762 MB / 0.7917 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5578, allocations: 4 kB / 0.7917 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5578, allocations: 0 / 0.7917 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.5578, allocations: 0 / 0.7917 GB, free: 12.77 MB / 0.5919 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.002201/0.56, allocations: 1.506 MB / 0.7932 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5601, allocations: 10.5 kB / 0.7932 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.5602, allocations: 152.7 kB / 0.7933 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.5612, allocations: 211.1 kB / 0.7935 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.5621, allocations: 0.7821 MB / 0.7943 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.5622, allocations: 73.03 kB / 0.7944 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.5623, allocations: 92.25 kB / 0.7945 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.5637, allocations: 1.017 MB / 0.7955 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5637, allocations: 0 / 0.7955 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.5638, allocations: 47.61 kB / 0.7955 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5638, allocations: 23.06 kB / 0.7955 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.5653, allocations: 1.173 MB / 0.7967 GB, free: 11.33 MB / 0.5919 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.003603/0.569, allocations: 2.946 MB / 0.7996 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.5704, allocations: 0.9195 MB / 0.8005 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.5709, allocations: 314 kB / 0.8007 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/0.5714, allocations: 476.6 kB / 0.8012 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007655/0.5722, allocations: 0.5006 MB / 0.8017 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.5722, allocations: 0 / 0.8017 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.002901/0.5751, allocations: 1.232 MB / 0.8029 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.5752, allocations: 204.2 kB / 0.8031 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.5759, allocations: 0.6382 MB / 0.8037 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.576, allocations: 41.14 kB / 0.8038 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.5762, allocations: 426.1 kB / 0.8042 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.5764, allocations: 270.4 kB / 0.8044 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.5766, allocations: 149 kB / 0.8046 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5768, allocations: 391.9 kB / 0.8049 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.5772, allocations: 255.4 kB / 0.8052 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.5777, allocations: 374.4 kB / 0.8055 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000937/0.5787, allocations: 0.5952 MB / 0.8061 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5787, allocations: 4 kB / 0.8061 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001673/0.5804, allocations: 0.8347 MB / 0.8069 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5804, allocations: 5.219 kB / 0.8069 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5804, allocations: 0 / 0.8069 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.581, allocations: 85.05 kB / 0.807 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.5816, allocations: 158.4 kB / 0.8072 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.5834, allocations: 1.623 MB / 0.8088 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.5841, allocations: 95.31 kB / 0.8088 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.5841, allocations: 38.66 kB / 0.8089 GB, free: 5.305 MB / 0.5919 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.0003306/0.5845, allocations: 263.7 kB / 0.8091 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.5846, allocations: 86.67 kB / 0.8092 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.5868, allocations: 1.1 MB / 0.8103 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5868, allocations: 10.22 kB / 0.8103 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5868, allocations: 0 / 0.8103 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5868, allocations: 7.969 kB / 0.8103 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.5897, allocations: 2.007 MB / 0.8123 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5898, allocations: 0 / 0.8123 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.5903, allocations: 149.2 kB / 0.8124 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/0.5907, allocations: 74.25 kB / 0.8125 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.5908, allocations: 26.3 kB / 0.8125 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.5924, allocations: 1.664 MB / 0.8141 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5925, allocations: 0 / 0.8141 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.5944, allocations: 1.02 MB / 0.8151 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.5948, allocations: 283.6 kB / 0.8154 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.5949, allocations: 20.69 kB / 0.8154 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.5956, allocations: 64.23 kB / 0.8155 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5957, allocations: 70.31 kB / 0.8155 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.5958, allocations: 34.28 kB / 0.8156 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005028/0.5963, allocations: 480.7 kB / 0.816 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5963, allocations: 4 kB / 0.816 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008468/0.5971, allocations: 351.2 kB / 0.8164 GB, free: 424 kB / 0.5919 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.003274/0.6004, allocations: 2.079 MB / 0.8184 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.6019, allocations: 0.8201 MB / 0.8192 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.602, allocations: 2.625 kB / 0.8192 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008703/0.6028, allocations: 0.5357 MB / 0.8197 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.604, allocations: 315.3 kB / 0.82 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009396/0.6134, allocations: 6.418 MB / 0.8263 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.614, allocations: 1.048 MB / 0.8273 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007645/0.6148, allocations: 277 kB / 0.8276 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.6153, allocations: 404.5 kB / 0.828 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.6153, allocations: 0 / 0.828 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.6624, allocations: 22.87 MB / 0.8503 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.11, allocations: 11.91 kB / 0.8503 GB, free: 2.961 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)