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.005297/0.005297, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001382/0.001382, allocations: 190.5 kB / 16.67 MB, free: 5.922 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 296.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 95.84 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4169, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006378/0.4234, allocations: 4.428 MB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.5947, allocations: 150.6 MB / 0.9173 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.5954, allocations: 15.94 kB / 0.9173 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.596, allocations: 174.3 kB / 0.9175 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.5977, allocations: 0.5121 MB / 0.918 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.5997, allocations: 0.8493 MB / 0.9188 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6012, allocations: 1.336 MB / 0.9201 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000966/0.6021, allocations: 0.7024 MB / 0.9208 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.6028, allocations: 0.4982 MB / 0.9213 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.6034, allocations: 0.525 MB / 0.9218 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.6036, allocations: 128 kB / 0.9219 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.6046, allocations: 0.5035 MB / 0.9224 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.6049, allocations: 315 kB / 0.9227 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.6054, allocations: 0.5829 MB / 0.9233 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.6074, allocations: 1.733 MB / 0.925 GB, free: 300 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6075, allocations: 0 / 0.925 GB, free: 300 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6075, allocations: 4 kB / 0.925 GB, free: 296 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.6075, allocations: 0 / 0.925 GB, free: 296 kB / 0.6856 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.002728/0.6102, allocations: 1.522 MB / 0.9265 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6103, allocations: 12.03 kB / 0.9265 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.6105, allocations: 152.1 kB / 0.9266 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.6117, allocations: 224 kB / 0.9268 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.613, allocations: 0.7816 MB / 0.9276 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.6131, allocations: 70 kB / 0.9277 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.6132, allocations: 99.92 kB / 0.9278 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.615, allocations: 1.016 MB / 0.9288 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.615, allocations: 0 / 0.9288 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.827e-05/0.6151, allocations: 40 kB / 0.9288 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6152, allocations: 28 kB / 0.9288 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.6172, allocations: 1.175 MB / 0.93 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.6215, allocations: 2.675 MB / 0.9326 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.6233, allocations: 0.9121 MB / 0.9335 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.6239, allocations: 310.6 kB / 0.9338 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/0.6246, allocations: 474.1 kB / 0.9342 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000947/0.6256, allocations: 0.5072 MB / 0.9347 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.6256, allocations: 0 / 0.9347 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003361/0.629, allocations: 1.229 MB / 0.9359 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.6291, allocations: 192.5 kB / 0.9361 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.63, allocations: 0.645 MB / 0.9367 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.6301, allocations: 45.64 kB / 0.9368 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.6304, allocations: 436.9 kB / 0.9372 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.6307, allocations: 277.6 kB / 0.9375 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.631, allocations: 150.6 kB / 0.9376 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.6312, allocations: 386.8 kB / 0.938 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.6317, allocations: 261.8 kB / 0.9382 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.6324, allocations: 362.5 kB / 0.9386 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6336, allocations: 0.6033 MB / 0.9392 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6336, allocations: 0 / 0.9392 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00204/0.6357, allocations: 0.8296 MB / 0.94 GB, free: 460 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6357, allocations: 4 kB / 0.94 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6357, allocations: 4 kB / 0.94 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.6363, allocations: 80.84 kB / 0.9401 GB, free: 368 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.637, allocations: 155.8 kB / 0.9402 GB, free: 212 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.6394, allocations: 1.629 MB / 0.9418 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.6401, allocations: 99.42 kB / 0.9419 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.6402, allocations: 31.98 kB / 0.9419 GB, free: 14.3 MB / 0.7169 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.0004638/0.6406, allocations: 274.5 kB / 0.9422 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.6408, allocations: 87.44 kB / 0.9423 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.6434, allocations: 1.101 MB / 0.9433 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.6434, allocations: 8 kB / 0.9433 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6435, allocations: 4 kB / 0.9434 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.6435, allocations: 7.984 kB / 0.9434 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.6472, allocations: 2.01 MB / 0.9453 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6472, allocations: 0 / 0.9453 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.6478, allocations: 147.8 kB / 0.9455 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.6483, allocations: 72.78 kB / 0.9455 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.6484, allocations: 23.98 kB / 0.9456 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.6506, allocations: 1.662 MB / 0.9472 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6506, allocations: 0 / 0.9472 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.653, allocations: 1.03 MB / 0.9482 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.6535, allocations: 280.2 kB / 0.9485 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.6536, allocations: 23.98 kB / 0.9485 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.6544, allocations: 63.94 kB / 0.9485 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.6546, allocations: 76.77 kB / 0.9486 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/0.6547, allocations: 39.97 kB / 0.9486 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007139/0.6554, allocations: 467 kB / 0.9491 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6554, allocations: 0 / 0.9491 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001106/0.6565, allocations: 339 kB / 0.9494 GB, free: 6.359 MB / 0.7169 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.004531/0.6611, allocations: 2.096 MB / 0.9515 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.663, allocations: 0.8156 MB / 0.9523 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.663, allocations: 0 / 0.9523 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6641, allocations: 0.5354 MB / 0.9528 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6654, allocations: 301.9 kB / 0.9531 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3314/0.9968, allocations: 6.532 MB / 0.9594 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.9974, allocations: 1.045 MB / 0.9605 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008273/0.9982, allocations: 265.4 kB / 0.9607 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.9987, allocations: 403.5 kB / 0.9611 GB, free: 185 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.9987, allocations: 0 / 0.9611 GB, free: 185 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5999/1.599, allocations: 21.97 MB / 0.9826 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/15.34, allocations: 9.781 kB / 0.9826 GB, free: 169.8 MB / 0.7169 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)