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.005726/0.005726, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001323/0.001323, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 275.1 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 95.84 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1671, allocations: 86.99 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00605/0.1732, allocations: 4.418 MB / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5114/0.6847, allocations: 150.6 MB / 0.9173 GB, free: 7.852 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.6854, allocations: 15.94 kB / 0.9173 GB, free: 7.836 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.686, allocations: 176.7 kB / 0.9175 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.6877, allocations: 0.4989 MB / 0.918 GB, free: 7.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.6896, allocations: 0.8652 MB / 0.9188 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.691, allocations: 1.321 MB / 0.9201 GB, free: 5.02 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.6919, allocations: 0.7024 MB / 0.9208 GB, free: 4.297 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.6926, allocations: 0.4983 MB / 0.9213 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.6931, allocations: 0.5249 MB / 0.9218 GB, free: 3.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.6933, allocations: 128 kB / 0.9219 GB, free: 3.145 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009263/0.6942, allocations: 0.5053 MB / 0.9224 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.6945, allocations: 319 kB / 0.9227 GB, free: 2.328 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.695, allocations: 0.5828 MB / 0.9233 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.6967, allocations: 1.713 MB / 0.925 GB, free: 28 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6967, allocations: 0 / 0.925 GB, free: 28 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6967, allocations: 0 / 0.925 GB, free: 28 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.6967, allocations: 0 / 0.925 GB, free: 28 kB / 0.67 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.002396/0.6991, allocations: 1.49 MB / 0.9264 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6992, allocations: 16.03 kB / 0.9264 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.6994, allocations: 148.2 kB / 0.9266 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.7004, allocations: 215.3 kB / 0.9268 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.7016, allocations: 0.789 MB / 0.9276 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.7016, allocations: 70 kB / 0.9276 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.7018, allocations: 92.56 kB / 0.9277 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.7033, allocations: 1.012 MB / 0.9287 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.7034, allocations: 0 / 0.9287 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.7035, allocations: 40 kB / 0.9287 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.7035, allocations: 24 kB / 0.9288 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.7053, allocations: 1.179 MB / 0.9299 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003854/0.7091, allocations: 2.669 MB / 0.9325 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.7107, allocations: 0.9101 MB / 0.9334 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.7113, allocations: 314.6 kB / 0.9337 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.7119, allocations: 478.1 kB / 0.9342 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008161/0.7128, allocations: 0.4999 MB / 0.9346 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.434e-06/0.7128, allocations: 0 / 0.9346 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003152/0.7159, allocations: 1.225 MB / 0.9358 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.716, allocations: 196.5 kB / 0.936 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.7168, allocations: 0.6411 MB / 0.9367 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.7169, allocations: 45.45 kB / 0.9367 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.7173, allocations: 424.2 kB / 0.9371 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.7175, allocations: 272.1 kB / 0.9374 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.7177, allocations: 146.5 kB / 0.9375 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7179, allocations: 390.8 kB / 0.9379 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.7184, allocations: 249.9 kB / 0.9381 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.719, allocations: 366.5 kB / 0.9385 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7201, allocations: 0.6033 MB / 0.9391 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7201, allocations: 0 / 0.9391 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001875/0.722, allocations: 0.8268 MB / 0.9399 GB, free: 284 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.722, allocations: 4 kB / 0.9399 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.722, allocations: 4 kB / 0.9399 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.7227, allocations: 84.86 kB / 0.9399 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.7234, allocations: 155.8 kB / 0.9401 GB, free: 32 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.7259, allocations: 1.624 MB / 0.9417 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/0.7269, allocations: 99.27 kB / 0.9418 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/0.727, allocations: 31.97 kB / 0.9418 GB, free: 14.13 MB / 0.7012 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.0006125/0.7276, allocations: 269.6 kB / 0.9421 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.7278, allocations: 82.97 kB / 0.9421 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.7304, allocations: 1.105 MB / 0.9432 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.7304, allocations: 12 kB / 0.9432 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7304, allocations: 0 / 0.9432 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.7304, allocations: 3.984 kB / 0.9432 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.7338, allocations: 2.006 MB / 0.9452 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7338, allocations: 4 kB / 0.9452 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.7344, allocations: 151.8 kB / 0.9453 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.7349, allocations: 64.8 kB / 0.9454 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.735, allocations: 35.97 kB / 0.9454 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.7367, allocations: 1.658 MB / 0.9471 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.7368, allocations: 4.031 kB / 0.9471 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.7388, allocations: 1.017 MB / 0.9481 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.7392, allocations: 275.7 kB / 0.9483 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.7394, allocations: 27.97 kB / 0.9483 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.74, allocations: 66.83 kB / 0.9484 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7402, allocations: 73.05 kB / 0.9485 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.7403, allocations: 35.97 kB / 0.9485 GB, free: 7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005628/0.7409, allocations: 471 kB / 0.949 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7409, allocations: 0 / 0.949 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008718/0.7417, allocations: 331.2 kB / 0.9493 GB, free: 6.219 MB / 0.7012 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.003573/0.7453, allocations: 2.097 MB / 0.9513 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.7471, allocations: 0.8206 MB / 0.9521 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7471, allocations: 0 / 0.9521 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009337/0.7481, allocations: 0.5198 MB / 0.9526 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.7493, allocations: 300.1 kB / 0.9529 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.7603, allocations: 6.514 MB / 0.9593 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.7609, allocations: 1.043 MB / 0.9603 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008264/0.7618, allocations: 266.7 kB / 0.9606 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.7623, allocations: 407.3 kB / 0.9609 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of SimCode: time 8.91e-07/0.7623, allocations: 4 kB / 0.961 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07144/0.8337, allocations: 21.79 MB / 0.9822 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.16, allocations: 11.59 kB / 0.9822 GB, free: 4.828 MB / 0.7325 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)