Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_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.001232/0.001232, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 192 kB / 16.53 MB, free: 6.391 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.3/2.3, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4599, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005517/0.4655, allocations: 5.17 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.5947, allocations: 150.7 MB / 1.17 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007046/0.5955, allocations: 23.88 kB / 1.17 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.5961, allocations: 194.1 kB / 1.17 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.5978, allocations: 0.5667 MB / 1.17 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.5995, allocations: 0.8672 MB / 1.171 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.6008, allocations: 1.436 MB / 1.173 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008253/0.6016, allocations: 0.6561 MB / 1.173 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.6022, allocations: 0.5139 MB / 1.174 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.6028, allocations: 0.5445 MB / 1.174 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.603, allocations: 128 kB / 1.174 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.6037, allocations: 491.6 kB / 1.175 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.604, allocations: 315 kB / 1.175 GB, free: 248 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.6045, allocations: 0.6141 MB / 1.176 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.606, allocations: 1.714 MB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.606, allocations: 4 kB / 1.178 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.143e-06/0.606, allocations: 0 / 1.178 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.606, allocations: 0 / 1.178 GB, free: 13.9 MB / 0.9356 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.002311/0.6083, allocations: 1.5 MB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.6084, allocations: 8.031 kB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.6085, allocations: 152.2 kB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6096, allocations: 211.3 kB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.6105, allocations: 0.773 MB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.6105, allocations: 70 kB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6107, allocations: 88 kB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.6121, allocations: 1.016 MB / 1.181 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.6122, allocations: 0 / 1.181 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/0.6122, allocations: 44 kB / 1.181 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.6123, allocations: 23.94 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.614, allocations: 1.179 MB / 1.182 GB, free: 8.699 MB / 0.9356 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.003709/0.6177, allocations: 2.972 MB / 1.185 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.6192, allocations: 0.9273 MB / 1.186 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.6198, allocations: 314.6 kB / 1.187 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.6203, allocations: 474.1 kB / 1.187 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.6212, allocations: 0.4991 MB / 1.187 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.893e-06/0.6212, allocations: 0 / 1.187 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.00297/0.6241, allocations: 1.237 MB / 1.189 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.6242, allocations: 188.6 kB / 1.189 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.6249, allocations: 0.6488 MB / 1.19 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.625, allocations: 37.7 kB / 1.19 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.6252, allocations: 424.2 kB / 1.19 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.6254, allocations: 268.2 kB / 1.19 GB, free: 396 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.6256, allocations: 150.5 kB / 1.19 GB, free: 236 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6257, allocations: 390.7 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.6262, allocations: 257.9 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.6268, allocations: 374.5 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.6279, allocations: 0.5994 MB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6279, allocations: 0 / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001792/0.6297, allocations: 0.8331 MB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6297, allocations: 4 kB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6298, allocations: 0 / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.6303, allocations: 84.86 kB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.6309, allocations: 155.7 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.6327, allocations: 1.637 MB / 1.195 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.6333, allocations: 95.3 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.6334, allocations: 31.97 kB / 1.195 GB, free: 11.59 MB / 0.9512 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.0003129/0.6337, allocations: 269.6 kB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6339, allocations: 83.03 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.6361, allocations: 1.105 MB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6362, allocations: 8.047 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6362, allocations: 3.984 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.6362, allocations: 7.984 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.6391, allocations: 2.005 MB / 1.198 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6391, allocations: 0 / 1.198 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.6397, allocations: 155.8 kB / 1.198 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.6401, allocations: 68.73 kB / 1.198 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.6402, allocations: 27.97 kB / 1.198 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.6418, allocations: 1.662 MB / 1.2 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6418, allocations: 3.984 kB / 1.2 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.6436, allocations: 1.016 MB / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.644, allocations: 279.7 kB / 1.201 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6441, allocations: 20 kB / 1.201 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.6447, allocations: 69.02 kB / 1.201 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.6449, allocations: 72.84 kB / 1.201 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.6449, allocations: 35.97 kB / 1.201 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004835/0.6454, allocations: 471 kB / 1.202 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6454, allocations: 0 / 1.202 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007448/0.6462, allocations: 343.1 kB / 1.202 GB, free: 3.656 MB / 0.9512 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.003194/0.6494, allocations: 2.094 MB / 1.204 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.6515, allocations: 1.034 MB / 1.205 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6515, allocations: 0 / 1.205 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.6524, allocations: 0.5275 MB / 1.206 GB, free: 140 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6535, allocations: 299.6 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00921/0.6627, allocations: 6.667 MB / 1.213 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.6633, allocations: 1.043 MB / 1.214 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007766/0.664, allocations: 274.8 kB / 1.214 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.6645, allocations: 407.2 kB / 1.214 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.6645, allocations: 0 / 1.214 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.09/6.755, allocations: 22.2 MB / 1.236 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/18.22, allocations: 24.78 kB / 1.236 GB, free: 1.461 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)