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.0009776/0.0009775, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.0009266/0.0009266, allocations: 193.6 kB / 16.26 MB, free: 6.152 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.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.402 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.255/2.255, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4911, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005829/0.497, allocations: 5.192 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1314/0.6283, allocations: 148.5 MB / 1.167 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007085/0.6291, allocations: 19.88 kB / 1.167 GB, free: 8.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.6297, allocations: 158.8 kB / 1.167 GB, free: 8.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.6313, allocations: 0.501 MB / 1.168 GB, free: 7.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.6331, allocations: 0.7666 MB / 1.168 GB, free: 7.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.6345, allocations: 1.452 MB / 1.17 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.6354, allocations: 0.6561 MB / 1.17 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.636, allocations: 0.51 MB / 1.171 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.6366, allocations: 0.5577 MB / 1.171 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.6368, allocations: 124 kB / 1.172 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.6376, allocations: 491.6 kB / 1.172 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.6378, allocations: 319 kB / 1.172 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.6383, allocations: 0.6102 MB / 1.173 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.64, allocations: 1.714 MB / 1.175 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.64, allocations: 4 kB / 1.175 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.64, allocations: 0 / 1.175 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.64, allocations: 0 / 1.175 GB, free: 0.5547 MB / 0.92 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.002497/0.6425, allocations: 1.504 MB / 1.176 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6426, allocations: 8.031 kB / 1.176 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.6427, allocations: 152.2 kB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.6438, allocations: 211.3 kB / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.6447, allocations: 0.7691 MB / 1.177 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.6448, allocations: 70 kB / 1.177 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6449, allocations: 95.98 kB / 1.177 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.6465, allocations: 1.02 MB / 1.178 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6466, allocations: 0 / 1.178 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.6467, allocations: 36 kB / 1.178 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.6467, allocations: 24 kB / 1.178 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.6485, allocations: 1.175 MB / 1.18 GB, free: 11.36 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.003884/0.6524, allocations: 2.976 MB / 1.183 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6539, allocations: 0.909 MB / 1.183 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.6544, allocations: 314.8 kB / 1.184 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.655, allocations: 478 kB / 1.184 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008928/0.6559, allocations: 0.5107 MB / 1.185 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.656, allocations: 0 / 1.185 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003089/0.6591, allocations: 1.229 MB / 1.186 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.945e-05/0.6592, allocations: 188.6 kB / 1.186 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.6599, allocations: 0.6449 MB / 1.187 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.6599, allocations: 45.69 kB / 1.187 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.6602, allocations: 432.2 kB / 1.187 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.6604, allocations: 264.2 kB / 1.187 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.6606, allocations: 150.5 kB / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6608, allocations: 382.8 kB / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.6613, allocations: 257.9 kB / 1.188 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.6619, allocations: 370.5 kB / 1.188 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.663, allocations: 0.6072 MB / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.663, allocations: 0 / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001807/0.6648, allocations: 0.8253 MB / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6648, allocations: 4 kB / 1.19 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6648, allocations: 4 kB / 1.19 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.6654, allocations: 84.86 kB / 1.19 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.666, allocations: 159.8 kB / 1.19 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.6679, allocations: 1.638 MB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.6686, allocations: 99.16 kB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.6687, allocations: 31.98 kB / 1.192 GB, free: 14.24 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.0003347/0.669, allocations: 273.7 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6692, allocations: 82.97 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.6715, allocations: 1.101 MB / 1.193 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6715, allocations: 12 kB / 1.193 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.6715, allocations: 4 kB / 1.193 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6715, allocations: 3.984 kB / 1.193 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.6746, allocations: 2.005 MB / 1.195 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.6746, allocations: 11.94 kB / 1.195 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.6752, allocations: 147.8 kB / 1.195 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.6756, allocations: 72.78 kB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.6757, allocations: 27.98 kB / 1.195 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.6774, allocations: 1.654 MB / 1.197 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6774, allocations: 4.031 kB / 1.197 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.6793, allocations: 1.016 MB / 1.198 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.6796, allocations: 287.6 kB / 1.198 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.6798, allocations: 19.98 kB / 1.198 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.6805, allocations: 67.94 kB / 1.198 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.6806, allocations: 76.83 kB / 1.199 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.6807, allocations: 39.97 kB / 1.199 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004961/0.6812, allocations: 467 kB / 1.199 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6812, allocations: 0 / 1.199 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007238/0.6819, allocations: 351 kB / 1.199 GB, free: 6.285 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.003344/0.6853, allocations: 2.099 MB / 1.201 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.6874, allocations: 1.03 MB / 1.202 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6875, allocations: 0 / 1.202 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.6884, allocations: 0.5198 MB / 1.203 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6895, allocations: 295.5 kB / 1.203 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7003, allocations: 7.087 MB / 1.21 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.7008, allocations: 1.047 MB / 1.211 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007971/0.7016, allocations: 286.8 kB / 1.211 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.7022, allocations: 403.3 kB / 1.212 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.7022, allocations: 0 / 1.212 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3459/1.048, allocations: 22.01 MB / 1.233 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.048, allocations: 318.4 kB / 1.234 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/3.177, allocations: 0 / 1.234 GB, free: 3.531 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)