Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_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.006737/0.006737, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.00177/0.00177, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.381/2.381, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5858, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006082/0.5919, allocations: 5.158 MB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1458/0.7376, allocations: 150.7 MB / 1.372 GB, free: 5.551 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.7383, allocations: 19.88 kB / 1.372 GB, free: 5.531 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.7389, allocations: 202.1 kB / 1.373 GB, free: 5.332 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.7404, allocations: 0.5597 MB / 1.373 GB, free: 4.773 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.7421, allocations: 0.8693 MB / 1.374 GB, free: 3.91 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.7434, allocations: 1.464 MB / 1.375 GB, free: 2.441 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/0.7442, allocations: 0.654 MB / 1.376 GB, free: 1.762 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.7447, allocations: 0.5138 MB / 1.377 GB, free: 1.246 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.7453, allocations: 0.5484 MB / 1.377 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.7454, allocations: 124 kB / 1.377 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.7461, allocations: 0.5113 MB / 1.378 GB, free: 64 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.7464, allocations: 311 kB / 1.378 GB, free: 15.76 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.7469, allocations: 0.6141 MB / 1.379 GB, free: 15.14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.7486, allocations: 1.769 MB / 1.38 GB, free: 13.37 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7486, allocations: 0 / 1.38 GB, free: 13.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7486, allocations: 0 / 1.38 GB, free: 13.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.7486, allocations: 4 kB / 1.38 GB, free: 13.36 MB / 1.107 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.002239/0.7509, allocations: 1.541 MB / 1.382 GB, free: 11.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.7509, allocations: 8.031 kB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.751, allocations: 148.2 kB / 1.382 GB, free: 11.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009721/0.752, allocations: 224 kB / 1.382 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7531, allocations: 0.7971 MB / 1.383 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.7531, allocations: 70 kB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7533, allocations: 92 kB / 1.383 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.7548, allocations: 1.02 MB / 1.384 GB, free: 9.324 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.7549, allocations: 4 kB / 1.384 GB, free: 9.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.7549, allocations: 40 kB / 1.384 GB, free: 9.281 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.755, allocations: 24 kB / 1.384 GB, free: 9.258 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7568, allocations: 1.178 MB / 1.385 GB, free: 8.078 MB / 1.107 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.003697/0.7605, allocations: 2.939 MB / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.762, allocations: 0.9202 MB / 1.389 GB, free: 4.066 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.7626, allocations: 310.7 kB / 1.389 GB, free: 3.762 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.7632, allocations: 474.1 kB / 1.39 GB, free: 3.207 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.764, allocations: 0.5035 MB / 1.39 GB, free: 2.684 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 1.694e-06/0.764, allocations: 0 / 1.39 GB, free: 2.684 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.002934/0.7669, allocations: 1.237 MB / 1.392 GB, free: 1.418 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.767, allocations: 188.6 kB / 1.392 GB, free: 1.191 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.7677, allocations: 0.6489 MB / 1.392 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.7678, allocations: 41.7 kB / 1.392 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.7681, allocations: 432.9 kB / 1.393 GB, free: 64 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.7683, allocations: 281.8 kB / 1.393 GB, free: 15.78 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.7685, allocations: 150.5 kB / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7687, allocations: 394.7 kB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.7692, allocations: 257.9 kB / 1.394 GB, free: 14.98 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.7698, allocations: 370.5 kB / 1.394 GB, free: 14.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7709, allocations: 0.5994 MB / 1.395 GB, free: 13.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7709, allocations: 4 kB / 1.395 GB, free: 13.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001755/0.7727, allocations: 0.8333 MB / 1.396 GB, free: 13.14 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.7727, allocations: 4 kB / 1.396 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7727, allocations: 0 / 1.396 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.7732, allocations: 84.86 kB / 1.396 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.7738, allocations: 151.8 kB / 1.396 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.7757, allocations: 1.634 MB / 1.397 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.7762, allocations: 99.59 kB / 1.398 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.7763, allocations: 35.97 kB / 1.398 GB, free: 10.99 MB / 1.123 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.0003181/0.7766, allocations: 273.5 kB / 1.398 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7768, allocations: 87.44 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.779, allocations: 1.097 MB / 1.399 GB, free: 9.508 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.779, allocations: 8 kB / 1.399 GB, free: 9.5 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.779, allocations: 4 kB / 1.399 GB, free: 9.496 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.7791, allocations: 7.922 kB / 1.399 GB, free: 9.488 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.782, allocations: 2.005 MB / 1.401 GB, free: 7.422 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.782, allocations: 0 / 1.401 GB, free: 7.422 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.7826, allocations: 159.8 kB / 1.401 GB, free: 7.266 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/0.783, allocations: 64.8 kB / 1.401 GB, free: 7.199 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.783, allocations: 27.97 kB / 1.401 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.7847, allocations: 1.659 MB / 1.403 GB, free: 5.371 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7847, allocations: 3.984 kB / 1.403 GB, free: 5.367 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.7866, allocations: 1.03 MB / 1.404 GB, free: 4.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.7869, allocations: 284.1 kB / 1.404 GB, free: 4.023 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.787, allocations: 20 kB / 1.404 GB, free: 4.004 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.7876, allocations: 63.92 kB / 1.404 GB, free: 3.941 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.7878, allocations: 72.84 kB / 1.404 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.7879, allocations: 39.97 kB / 1.404 GB, free: 3.832 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004991/0.7884, allocations: 471 kB / 1.405 GB, free: 3.375 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7884, allocations: 0 / 1.405 GB, free: 3.375 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006726/0.789, allocations: 351.1 kB / 1.405 GB, free: 3.031 MB / 1.123 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.003788/0.7928, allocations: 2.109 MB / 1.407 GB, free: 1.078 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.7944, allocations: 0.8197 MB / 1.408 GB, free: 256 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7944, allocations: 4 kB / 1.408 GB, free: 252 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009164/0.7953, allocations: 0.5314 MB / 1.408 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.7964, allocations: 314 kB / 1.409 GB, free: 15.42 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/0.8056, allocations: 6.441 MB / 1.415 GB, free: 8.82 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.8062, allocations: 1.043 MB / 1.416 GB, free: 7.746 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006609/0.8068, allocations: 274.8 kB / 1.416 GB, free: 7.473 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.8074, allocations: 403.3 kB / 1.417 GB, free: 7.078 MB / 1.139 GB Notification: Performance of SimCode: time 2.61e-07/0.8074, allocations: 0 / 1.417 GB, free: 7.078 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.581/3.388, allocations: 22.45 MB / 1.439 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/24.31, allocations: 17.36 kB / 1.439 GB, free: 0.9727 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)